#D799EC#D799EC

#D799EC is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.1% C 0.132 H 317.3°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#D799EC
RGBrgb(215, 153, 236)
HSLhsl(285, 69%, 76%)
HSVhsv(285, 35%, 93%)
CMYKcmyk(8.9%, 35.2%, 0%, 7.5%)
CIE-LABlab(71.75, 37.30, -32.73)
CIE-LCHlch(71.75, 49.62, 318.73°)
OKLaboklab(77.14% 0.0973 -0.0897)
OKLCHoklch(77.14% 0.132 317.3)
XYZxyz(54.5537, 43.2870, 84.8221)
Luminance0.4329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799EC #AEEC99
analogous
#AE99EC #D799EC #EC99D8
triadic
#D799EC #ECD799 #99ECD7
tetradic
#D799EC #ECAE99 #AEEC99 #99D8EC
square
#D799EC #ECAE99 #AEEC99 #99D8EC
split-complementary
#D799EC #D8EC99 #99ECAE
monochromatic
#AF32D9 #C365E2 #D799EC #EBCDF6 #F5E5FA

Accessibility & contrast

On white

2.17
#D799EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#D799EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799EC
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799EC#FFFFFF#000000##000000
##D799EC1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#D7A3B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d799ec;
/* rgb */ color: rgb(215, 153, 236);
/* oklch */ color: oklch(77.1% 0.132 317.3);
Tailwind
colors: {
  custom: {
    50: '#e4b8f2',
    500: '#d799ec',
    950: '#000000',
  },
}
SCSS
$custom: #d799ec;
$custom-light: #e4b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d799ec",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 284.819,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77137,
    "c": 0.13239,
    "h": 317.3
  },
  "luminance": 0.43286
}

Semantic roles & 50–950 ramp

primary
#D799EC
secondary
#DFF2D9
accent
#D11544
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D799EC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D799EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva