#D291EA#D291EA

#D291EA is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.2% C 0.141 H 316.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D291EA
RGBrgb(210, 145, 234)
HSLhsl(284, 68%, 74%)
HSVhsv(284, 38%, 92%)
CMYKcmyk(10.3%, 38%, 0%, 8.2%)
CIE-LABlab(69.39, 39.69, -35.33)
CIE-LCHlch(69.39, 53.13, 318.32°)
OKLaboklab(75.21% 0.1027 -0.0972)
OKLCHoklch(75.21% 0.141 316.6)
XYZxyz(51.5528, 39.8942, 82.8106)
Luminance0.3989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291EA #A9EA91
analogous
#A691EA #D291EA #EA91D6
triadic
#D291EA #EAD291 #91EAD2
tetradic
#D291EA #EAA691 #A9EA91 #91D6EA
square
#D291EA #EAA691 #A9EA91 #91D6EA
split-complementary
#D291EA #D6EA91 #91EAA6
monochromatic
#A82AD6 #BD5EE0 #D291EA #E7C4F4 #F4E5FA

Accessibility & contrast

On white

2.34
#D291EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D291EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291EA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291EA#FFFFFF#000000##000000
##D291EA1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#93ACE7
Tritanopia (blue-blind)
#D19CB3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d291ea;
/* rgb */ color: rgb(210, 145, 234);
/* oklch */ color: oklch(75.2% 0.141 316.6);
Tailwind
colors: {
  custom: {
    50: '#e1b2f1',
    500: '#d291ea',
    950: '#000000',
  },
}
SCSS
$custom: #d291ea;
$custom-light: #e1b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d291ea",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 283.82,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75214,
    "c": 0.1414,
    "h": 316.6
  },
  "luminance": 0.39893
}

Semantic roles & 50–950 ramp

primary
#D291EA
secondary
#E0F2D9
accent
#D01648
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D291EA

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

Preview Lab → · Contrast checker → · Palette generator →

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