#DC96ED#DC96ED

#DC96ED is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.2% C 0.141 H 319.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#DC96ED
RGBrgb(220, 150, 237)
HSLhsl(288, 71%, 76%)
HSVhsv(288, 37%, 93%)
CMYKcmyk(7.2%, 36.7%, 0%, 7.1%)
CIE-LABlab(71.65, 40.62, -33.39)
CIE-LCHlch(71.65, 52.58, 320.58°)
OKLaboklab(77.2% 0.1076 -0.0915)
OKLCHoklch(77.2% 0.141 319.6)
XYZxyz(55.7056, 43.1444, 85.4976)
Luminance0.4314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96ED #A7ED96
analogous
#B096ED #DC96ED #ED96D2
triadic
#DC96ED #EDDC96 #96EDDC
tetradic
#DC96ED #EDB096 #A7ED96 #96D2ED
square
#DC96ED #EDB096 #A7ED96 #96D2ED
split-complementary
#DC96ED #D2ED96 #96EDB0
monochromatic
#B92EDB #CB62E4 #DC96ED #EDCAF6 #F6E5FB

Accessibility & contrast

On white

2.18
#DC96ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#DC96ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96ED
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96ED#FFFFFF#000000##000000
##DC96ED1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF0
Deuteranopia (green-blind)
#9CB2EA
Tritanopia (blue-blind)
#DDA0B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc96ed;
/* rgb */ color: rgb(220, 150, 237);
/* oklch */ color: oklch(77.2% 0.141 319.6);
Tailwind
colors: {
  custom: {
    50: '#e8b6f3',
    500: '#dc96ed',
    950: '#000000',
  },
}
SCSS
$custom: #dc96ed;
$custom-light: #e8b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96ed",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 288.276,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77195,
    "c": 0.14125,
    "h": 319.6
  },
  "luminance": 0.43143
}

Semantic roles & 50–950 ramp

primary
#DC96ED
secondary
#DEF2D9
accent
#D31338
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC96ED

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

Preview Lab → · Contrast checker → · Palette generator →

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