# #d797ec color: Bright Lilac

#d797ec is rgb(215, 151, 236) in RGB and oklch(76.804% 0.13583 317.549) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/d797ec

## Formats

| Format | Value |
| --- | --- |
| HEX | #d797ec |
| RGB | rgb(215, 151, 236) |
| HSL | hsl(285.18, 69.11%, 75.88%) |
| HSB / HSV | hsv(285.18 36.02% 92.55%) |
| HWB | hwb(285.18 59.22% 7.45%) |
| CMYK | cmyk(9% 36% 0% 7%) |
| Lab | lab(71.14 35.39 -33.38) |
| LCH | lch(71.14 48.65 316.68) |
| OKLab | oklab(76.804% 0.10022 -0.09168) |
| OKLCH | oklch(76.804% 0.13583 317.549) |
| Display P3 | color(display-p3 0.80588 0.60274 0.90521) |
| Rec. 2020 | color(rec2020 0.75065 0.57817 0.88914) |
| Adobe RGB | color(a98-rgb 0.77699 0.58665 0.9122) |
| ProPhoto RGB | color(prophoto-rgb 0.7387 0.56757 0.86723) |
| Linear sRGB | color(srgb-linear 0.67954 0.30947 0.8388) |
| XYZ D65 | color(xyz-d65 0.54229 0.42637 0.84733) |
| XYZ D50 | color(xyz-d50 0.53553 0.4239 0.63849) |
| SwiftUI | Color(red: 0.843, green: 0.592, blue: 0.925) |
| UIKit | UIColor(red: 0.843, green: 0.592, blue: 0.925, alpha: 1) |
| Flutter / Compose | Color(0xFFD797EC) |
| Android XML | #D797EC |

## Facts

- Closest name: Bright Lilac
- Hue family: Magenta, bright light magenta
- Closest Tailwind class: purple-300
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 2.2:1
- Contrast with black: 9.53:1

## Tints

#d797ec, #dba2ee, #dfacf1, #e4b7f3, #e8c1f5, #eccbf7, #f0d6f9, #f4e0fa, #f7eafc, #fbf5fe

## Shades

#d797ec, #bb83cd, #9f6faf, #855c92, #6b4976, #52375b, #3b2642, #251729, #110813, #020103

## Tones

#d797ec, #d49ae7, #d09ee1, #cda1dc, #c9a4d6, #c6a7d0, #c2a9cb, #bfacc5, #bbafbf, #b7b1b9

## Harmonies

- Complementary: #d797ec, #88c870
- Split: #d797ec, #bdb946, #43cfa2
- Analogous: #d797ec, #afa5ff, #f28ec3
- Triadic: #d797ec, #e3a740, #00cdd2
- Tetradic: #d797ec, #fe8e93, #88c870, #00cdd2
- Square: #d797ec, #f99764, #88c870, #36c4f7
- Monochromatic: #d797ec, #8b4e9e, #b072c4, #fac2ff, #ffebff

## Questions about #d797ec

### What color is #d797ec?

#d797ec is bright light magenta. The closest named color is Bright Lilac. In RGB it is rgb(215, 151, 236), in HSL hsl(285.18, 69.11%, 75.88%) and in OKLCH oklch(76.804% 0.13583 317.549).

### What colors go well with #d797ec?

The complementary color of #d797ec is #88c870. For a calmer combination use the analogous colors #afa5ff and #f28ec3. The triadic partners are #e3a740 and #00cdd2.

### Is white or black text more readable on #d797ec?

Black text reads better on #d797ec: white gives a contrast ratio of 2.2:1 and black gives 9.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #d797ec a warm or cool color?

#d797ec is a neutral color. In OKLCH its hue is 318 degrees, its lightness 76.8% and its chroma 0.136.
