#D299EA#D299EA

#D299EA is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.6% C 0.128 H 315.5°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D299EA
RGBrgb(210, 153, 234)
HSLhsl(282, 66%, 76%)
HSVhsv(282, 35%, 92%)
CMYKcmyk(10.3%, 34.6%, 0%, 8.2%)
CIE-LABlab(71.16, 35.37, -32.59)
CIE-LCHlch(71.16, 48.09, 317.34°)
OKLaboklab(76.55% 0.0911 -0.0894)
OKLCHoklch(76.55% 0.128 315.5)
XYZxyz(52.8186, 42.4257, 83.2325)
Luminance0.4243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299EA #B1EA99
analogous
#A999EA #D299EA #EA99D9
triadic
#D299EA #EAD299 #99EAD2
tetradic
#D299EA #EAA999 #B1EA99 #99D9EA
square
#D299EA #EAA999 #B1EA99 #99D9EA
split-complementary
#D299EA #D9EA99 #99EAA9
monochromatic
#A533D5 #BC66E0 #D299EA #E8CCF4 #F4E6FA

Accessibility & contrast

On white

2.21
#D299EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#D299EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299EA
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299EA#FFFFFF#000000##000000
##D299EA1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#D1A3B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d299ea;
/* rgb */ color: rgb(210, 153, 234);
/* oklch */ color: oklch(76.6% 0.128 315.5);
Tailwind
colors: {
  custom: {
    50: '#e1b8f1',
    500: '#d299ea',
    950: '#000000',
  },
}
SCSS
$custom: #d299ea;
$custom-light: #e1b8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d299ea",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 282.222,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76552,
    "c": 0.12768,
    "h": 315.5
  },
  "luminance": 0.42425
}

Semantic roles & 50–950 ramp

primary
#D299EA
secondary
#E1F1DA
accent
#CE184E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D299EA

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

Preview Lab → · Contrast checker → · Palette generator →

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