#DF96EC#DF96EC

#DF96EC is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.5% C 0.142 H 321.4°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#DF96EC
RGBrgb(223, 150, 236)
HSLhsl(291, 69%, 76%)
HSVhsv(291, 36%, 93%)
CMYKcmyk(5.5%, 36.4%, 0%, 7.5%)
CIE-LABlab(71.93, 41.33, -32.38)
CIE-LCHlch(71.93, 52.51, 321.92°)
OKLaboklab(77.46% 0.1108 -0.0886)
OKLCHoklch(77.46% 0.142 321.4)
XYZxyz(56.4763, 43.5586, 84.7733)
Luminance0.4356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF96EC #A3EC96
analogous
#B496EC #DF96EC #EC96CE
triadic
#DF96EC #ECDF96 #96ECDF
tetradic
#DF96EC #ECB496 #A3EC96 #96CEEC
square
#DF96EC #ECB496 #A3EC96 #96CEEC
split-complementary
#DF96EC #CEEC96 #96ECB4
monochromatic
#BF2ED9 #CF62E3 #DF96EC #EFCAF5 #F7E5FA

Accessibility & contrast

On white

2.16
#DF96EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#DF96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF96EC
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF96EC#FFFFFF#000000##000000
##DF96EC1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#E1A0B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df96ec;
/* rgb */ color: rgb(223, 150, 236);
/* oklch */ color: oklch(77.5% 0.142 321.4);
Tailwind
colors: {
  custom: {
    50: '#eab6f2',
    500: '#df96ec',
    950: '#000000',
  },
}
SCSS
$custom: #df96ec;
$custom-light: #eab6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df96ec",
  "rgb": {
    "r": 223,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 290.93,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77464,
    "c": 0.14186,
    "h": 321.4
  },
  "luminance": 0.43557
}

Semantic roles & 50–950 ramp

primary
#DF96EC
secondary
#DDF2D9
accent
#D11431
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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