#D291EC#D291EC

#D291EC is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.3% C 0.144 H 315.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D291EC
RGBrgb(210, 145, 236)
HSLhsl(283, 71%, 75%)
HSVhsv(283, 39%, 93%)
CMYKcmyk(11%, 38.6%, 0%, 7.5%)
CIE-LABlab(69.48, 40.09, -36.30)
CIE-LCHlch(69.48, 54.08, 317.84°)
OKLaboklab(75.3% 0.1031 -0.1)
OKLCHoklch(75.3% 0.144 315.9)
XYZxyz(51.8418, 40.0098, 84.3324)
Luminance0.4001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D291EC #ABEC91
analogous
#A591EC #D291EC #EC91D9
triadic
#D291EC #ECD291 #91ECD2
tetradic
#D291EC #ECA591 #ABEC91 #91D9EC
square
#D291EC #ECA591 #ABEC91 #91D9EC
split-complementary
#D291EC #D9EC91 #91ECA5
monochromatic
#A729DA #BD5DE3 #D291EC #E7C5F5 #F4E5FA

Accessibility & contrast

On white

2.33
#D291EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#D291EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D291EC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D291EC#FFFFFF#000000##000000
##D291EC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#92ACE9
Tritanopia (blue-blind)
#D19DB4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d291ec;
/* rgb */ color: rgb(210, 145, 236);
/* oklch */ color: oklch(75.3% 0.144 315.9);
Tailwind
colors: {
  custom: {
    50: '#e1b2f2',
    500: '#d291ec',
    950: '#000000',
  },
}
SCSS
$custom: #d291ec;
$custom-light: #e1b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d291ec",
  "rgb": {
    "r": 210,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 282.857,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75303,
    "c": 0.14362,
    "h": 315.9
  },
  "luminance": 0.40009
}

Semantic roles & 50–950 ramp

primary
#D291EC
secondary
#E0F2D9
accent
#D3134A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D291EC

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

Preview Lab → · Contrast checker → · Palette generator →

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