#DC96EC#DC96EC

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

Color values

HEX#DC96EC
RGBrgb(220, 150, 236)
HSLhsl(289, 69%, 76%)
HSVhsv(289, 36%, 93%)
CMYKcmyk(6.8%, 36.4%, 0%, 7.5%)
CIE-LABlab(71.61, 40.42, -32.90)
CIE-LCHlch(71.61, 52.12, 320.86°)
OKLaboklab(77.15% 0.1074 -0.0901)
OKLCHoklch(77.15% 0.14 320)
XYZxyz(55.5599, 43.0861, 84.7303)
Luminance0.4308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96EC #A6EC96
analogous
#B196EC #DC96EC #EC96D1
triadic
#DC96EC #ECDC96 #96ECDC
tetradic
#DC96EC #ECB196 #A6EC96 #96D1EC
square
#DC96EC #ECB196 #A6EC96 #96D1EC
split-complementary
#DC96EC #D1EC96 #96ECB1
monochromatic
#B92ED9 #CB62E3 #DC96EC #EDCAF5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.62
#DC96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96EC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96EC#FFFFFF#000000##000000
##DC96EC1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABEF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#DDA0B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc96ec;
/* rgb */ color: rgb(220, 150, 236);
/* oklch */ color: oklch(77.2% 0.140 320.0);
Tailwind
colors: {
  custom: {
    50: '#e8b6f2',
    500: '#dc96ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc96ec;
$custom-light: #e8b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96ec",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 288.837,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77152,
    "c": 0.14019,
    "h": 320
  },
  "luminance": 0.43084
}

Semantic roles & 50–950 ramp

primary
#DC96EC
secondary
#DEF2D9
accent
#D11437
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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