#D799EB#D799EB

#D799EB is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.1% C 0.131 H 317.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#D799EB
RGBrgb(215, 153, 235)
HSLhsl(285, 67%, 76%)
HSVhsv(285, 35%, 92%)
CMYKcmyk(8.5%, 34.9%, 0%, 7.8%)
CIE-LABlab(71.71, 37.10, -32.25)
CIE-LCHlch(71.71, 49.15, 319.00°)
OKLaboklab(77.1% 0.0971 -0.0884)
OKLCHoklch(77.1% 0.131 317.7)
XYZxyz(54.4088, 43.2291, 84.0590)
Luminance0.4323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D799EB #ADEB99
analogous
#AE99EB #D799EB #EB99D6
triadic
#D799EB #EBD799 #99EBD7
tetradic
#D799EB #EBAE99 #ADEB99 #99D6EB
square
#D799EB #EBAE99 #ADEB99 #99D6EB
split-complementary
#D799EB #D6EB99 #99EBAE
monochromatic
#AF33D7 #C366E1 #D799EB #EBCCF5 #F5E5FA

Accessibility & contrast

On white

2.18
#D799EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#D799EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D799EB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D799EB#FFFFFF#000000##000000
##D799EB1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#9CB2E8
Tritanopia (blue-blind)
#D7A3B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d799eb;
/* rgb */ color: rgb(215, 153, 235);
/* oklch */ color: oklch(77.1% 0.131 317.7);
Tailwind
colors: {
  custom: {
    50: '#e4b8f1',
    500: '#d799eb',
    950: '#000000',
  },
}
SCSS
$custom: #d799eb;
$custom-light: #e4b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d799eb",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 285.366,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77095,
    "c": 0.13128,
    "h": 317.7
  },
  "luminance": 0.43228
}

Semantic roles & 50–950 ramp

primary
#D799EB
secondary
#DFF1DA
accent
#CF1643
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D799EB

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

Preview Lab → · Contrast checker → · Palette generator →

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