#DC96E7#DC96E7

#DC96E7 is a light, vivid purple. Relative luminance 0.428; OKLCH L 76.9% C 0.135 H 321.9°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#DC96E7
RGBrgb(220, 150, 231)
HSLhsl(292, 63%, 75%)
HSVhsv(292, 35%, 91%)
CMYKcmyk(4.8%, 35.1%, 0%, 9.4%)
CIE-LABlab(71.42, 39.46, -30.47)
CIE-LCHlch(71.42, 49.85, 322.33°)
OKLaboklab(76.94% 0.1062 -0.0832)
OKLCHoklch(76.94% 0.135 321.9)
XYZxyz(54.8437, 42.7996, 80.9580)
Luminance0.4280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96E7 #A1E796
analogous
#B496E7 #DC96E7 #E796CA
triadic
#DC96E7 #E7DC96 #96E7DC
tetradic
#DC96E7 #E7B496 #A1E796 #96CAE7
square
#DC96E7 #E7B496 #A1E796 #96CAE7
split-complementary
#DC96E7 #CAE796 #96E7B4
monochromatic
#BB32D0 #CB64DC #DC96E7 #EDC8F2 #F7E6F9

Accessibility & contrast

On white

2.20
#DC96E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#DC96E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96E7
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96E7#FFFFFF#000000##000000
##DC96E71.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DAAEA
Deuteranopia (green-blind)
#9EB2E4
Tritanopia (blue-blind)
#DE9FB4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc96e7;
/* rgb */ color: rgb(220, 150, 231);
/* oklch */ color: oklch(76.9% 0.135 321.9);
Tailwind
colors: {
  custom: {
    50: '#e8b6ef',
    500: '#dc96e7',
    950: '#000000',
  },
}
SCSS
$custom: #dc96e7;
$custom-light: #e8b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96e7",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 231
  },
  "hsl": {
    "h": 291.852,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76941,
    "c": 0.13492,
    "h": 321.9
  },
  "luminance": 0.42798
}

Semantic roles & 50–950 ramp

primary
#DC96E7
secondary
#DDF1DA
accent
#CB1B33
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC96E7

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

Preview Lab → · Contrast checker → · Palette generator →

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