#DC96EB#DC96EB

#DC96EB is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.1% C 0.139 H 320.4°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#DC96EB
RGBrgb(220, 150, 235)
HSLhsl(289, 68%, 75%)
HSVhsv(289, 36%, 92%)
CMYKcmyk(6.4%, 36.2%, 0%, 7.8%)
CIE-LABlab(71.57, 40.23, -32.42)
CIE-LCHlch(71.57, 51.66, 321.14°)
OKLaboklab(77.11% 0.1072 -0.0887)
OKLCHoklch(77.11% 0.139 320.4)
XYZxyz(55.4151, 43.0282, 83.9673)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96EB #A5EB96
analogous
#B196EB #DC96EB #EB96CF
triadic
#DC96EB #EBDC96 #96EBDC
tetradic
#DC96EB #EBB196 #A5EB96 #96CFEB
square
#DC96EB #EBB196 #A5EB96 #96CFEB
split-complementary
#DC96EB #CFEB96 #96EBB1
monochromatic
#BA2FD7 #CB63E1 #DC96EB #EDC9F5 #F6E5FA

Accessibility & contrast

On white

2.19
#DC96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#DC96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96EB
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96EB#FFFFFF#000000##000000
##DC96EB1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc96eb;
/* rgb */ color: rgb(220, 150, 235);
/* oklch */ color: oklch(77.1% 0.139 320.4);
Tailwind
colors: {
  custom: {
    50: '#e8b6f1',
    500: '#dc96eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc96eb;
$custom-light: #e8b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96eb",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 289.412,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77109,
    "c": 0.13913,
    "h": 320.4
  },
  "luminance": 0.43026
}

Semantic roles & 50–950 ramp

primary
#DC96EB
secondary
#DEF2D9
accent
#D01636
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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