#DC96F0#DC96F0

#DC96F0 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.3% C 0.144 H 318.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#DC96F0
RGBrgb(220, 150, 240)
HSLhsl(287, 75%, 76%)
HSVhsv(287, 38%, 94%)
CMYKcmyk(8.3%, 37.5%, 0%, 5.9%)
CIE-LABlab(71.77, 41.20, -34.84)
CIE-LCHlch(71.77, 53.96, 319.78°)
OKLaboklab(77.32% 0.1083 -0.0956)
OKLCHoklch(77.32% 0.144 318.5)
XYZxyz(56.1476, 43.3212, 87.8253)
Luminance0.4332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96F0 #AAF096
analogous
#AF96F0 #DC96F0 #F096D7
triadic
#DC96F0 #F0DC96 #96F0DC
tetradic
#DC96F0 #F0AF96 #AAF096 #96D7F0
square
#DC96F0 #F0AF96 #AAF096 #96D7F0
split-complementary
#DC96F0 #D7F096 #96F0AF
monochromatic
#B82BE1 #CA60E8 #DC96F0 #EECCF8 #F6E4FB

Accessibility & contrast

On white

2.17
#DC96F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#DC96F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96F0
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96F0#FFFFFF#000000##000000
##DC96F01.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF3
Deuteranopia (green-blind)
#9BB2ED
Tritanopia (blue-blind)
#DDA1B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc96f0;
/* rgb */ color: rgb(220, 150, 240);
/* oklch */ color: oklch(77.3% 0.144 318.5);
Tailwind
colors: {
  custom: {
    50: '#e8b6f5',
    500: '#dc96f0',
    950: '#000000',
  },
}
SCSS
$custom: #dc96f0;
$custom-light: #e8b6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96f0",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 240
  },
  "hsl": {
    "h": 286.667,
    "s": 75,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77324,
    "c": 0.14446,
    "h": 318.5
  },
  "luminance": 0.4332
}

Semantic roles & 50–950 ramp

primary
#DC96F0
secondary
#DEF3D8
accent
#D70E3B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC96F0

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

Preview Lab → · Contrast checker → · Palette generator →

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