#DF91EC#DF91EC

#DF91EC is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.7% C 0.150 H 321.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#DF91EC
RGBrgb(223, 145, 236)
HSLhsl(291, 71%, 75%)
HSVhsv(291, 39%, 93%)
CMYKcmyk(5.5%, 38.6%, 0%, 7.5%)
CIE-LABlab(70.87, 43.97, -34.03)
CIE-LCHlch(70.87, 55.60, 322.26°)
OKLaboklab(76.66% 0.118 -0.0932)
OKLCHoklch(76.66% 0.15 321.7)
XYZxyz(55.6954, 41.9968, 84.5130)
Luminance0.4199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF91EC #9EEC91
analogous
#B291EC #DF91EC #EC91CB
triadic
#DF91EC #ECDF91 #91ECDF
tetradic
#DF91EC #ECB291 #9EEC91 #91CBEC
square
#DF91EC #ECB291 #9EEC91 #91CBEC
split-complementary
#DF91EC #CBEC91 #91ECB2
monochromatic
#C129DA #D05DE3 #DF91EC #EEC5F5 #F7E5FA

Accessibility & contrast

On white

2.23
#DF91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DF91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF91EC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF91EC#FFFFFF#000000##000000
##DF91EC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8EF
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#E19BB4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df91ec;
/* rgb */ color: rgb(223, 145, 236);
/* oklch */ color: oklch(76.7% 0.150 321.7);
Tailwind
colors: {
  custom: {
    50: '#eab3f2',
    500: '#df91ec',
    950: '#000000',
  },
}
SCSS
$custom: #df91ec;
$custom-light: #eab3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df91ec",
  "rgb": {
    "r": 223,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 291.429,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76663,
    "c": 0.15041,
    "h": 321.7
  },
  "luminance": 0.41995
}

Semantic roles & 50–950 ramp

primary
#DF91EC
secondary
#DDF2D9
accent
#D3132E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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