#DC96FC#DC96FC

#DC96FC is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.9% C 0.158 H 314.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DC96FC
RGBrgb(220, 150, 252)
HSLhsl(281, 94%, 79%)
HSVhsv(281, 40%, 99%)
CMYKcmyk(12.7%, 40.5%, 0%, 1.2%)
CIE-LABlab(72.27, 43.61, -40.60)
CIE-LCHlch(72.27, 59.59, 317.04°)
OKLaboklab(77.86% 0.1107 -0.1121)
OKLCHoklch(77.86% 0.158 314.6)
XYZxyz(57.9895, 44.0579, 97.5258)
Luminance0.4406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96FC #B6FC96
analogous
#A996FC #DC96FC #FC96E9
triadic
#DC96FC #FCDC96 #96FCDC
tetradic
#DC96FC #FCA996 #B6FC96 #96E9FC
square
#DC96FC #FCA996 #B6FC96 #96E9FC
split-complementary
#DC96FC #E9FC96 #96FCA9
monochromatic
#B41FF9 #C85BFA #DC96FC #F0D2FE #F5E1FE

Accessibility & contrast

On white

2.14
#DC96FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DC96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96FC
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96FC#FFFFFF#000000##000000
##DC96FC1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#96B3F9
Tritanopia (blue-blind)
#DAA4BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dc96fc;
/* rgb */ color: rgb(220, 150, 252);
/* oklch */ color: oklch(77.9% 0.158 314.6);
Tailwind
colors: {
  custom: {
    50: '#e8b6fd',
    500: '#dc96fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc96fc;
$custom-light: #e8b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96fc",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 281.176,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77859,
    "c": 0.15758,
    "h": 314.6
  },
  "luminance": 0.44057
}

Semantic roles & 50–950 ramp

primary
#DC96FC
secondary
#DFF6D5
accent
#E60048
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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