#DC96FF#DC96FF

#DC96FF is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.0% C 0.161 H 313.7°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#DC96FF
RGBrgb(220, 150, 255)
HSLhsl(280, 100%, 79%)
HSVhsv(280, 41%, 100%)
CMYKcmyk(13.7%, 41.2%, 0%, 0%)
CIE-LABlab(72.39, 44.22, -42.03)
CIE-LCHlch(72.39, 61.01, 316.46°)
OKLaboklab(78% 0.1113 -0.1163)
OKLCHoklch(78% 0.161 313.7)
XYZxyz(58.4686, 44.2496, 100.0493)
Luminance0.4425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96FF #B9FF96
analogous
#A896FF #DC96FF #FF96EE
triadic
#DC96FF #FFDC96 #96FFDC
tetradic
#DC96FF #FFA896 #B9FF96 #96EEFF
square
#DC96FF #FFA896 #B9FF96 #96EEFF
split-complementary
#DC96FF #EEFF96 #96FFA8
monochromatic
#B31CFF #C859FF #DC96FF #F0D3FF #F5E0FF

Accessibility & contrast

On white

2.13
#DC96FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#DC96FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96FF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96FF#FFFFFF#000000##000000
##DC96FF1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#D9A5BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc96ff;
/* rgb */ color: rgb(220, 150, 255);
/* oklch */ color: oklch(78.0% 0.161 313.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6ff',
    500: '#dc96ff',
    950: '#000000',
  },
}
SCSS
$custom: #dc96ff;
$custom-light: #e8b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96ff",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 280,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77997,
    "c": 0.16092,
    "h": 313.7
  },
  "luminance": 0.44248
}

Semantic roles & 50–950 ramp

primary
#DC96FF
secondary
#E0F7D4
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC96FF

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

Preview Lab → · Contrast checker → · Palette generator →

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