#DC96FB#DC96FB

#DC96FB is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.8% C 0.156 H 314.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#DC96FB
RGBrgb(220, 150, 251)
HSLhsl(282, 93%, 79%)
HSVhsv(282, 40%, 98%)
CMYKcmyk(12.4%, 40.2%, 0%, 1.6%)
CIE-LABlab(72.22, 43.41, -40.13)
CIE-LCHlch(72.22, 59.11, 317.25°)
OKLaboklab(77.81% 0.1105 -0.1108)
OKLCHoklch(77.81% 0.156 314.9)
XYZxyz(57.8314, 43.9947, 96.6934)
Luminance0.4399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96FB #B5FB96
analogous
#A996FB #DC96FB #FB96E7
triadic
#DC96FB #FBDC96 #96FBDC
tetradic
#DC96FB #FBA996 #B5FB96 #96E7FB
square
#DC96FB #FBA996 #B5FB96 #96E7FB
split-complementary
#DC96FB #E7FB96 #96FBA9
monochromatic
#B520F7 #C85BF9 #DC96FB #F0D1FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.80
#DC96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96FB
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96FB#FFFFFF#000000##000000
##DC96FB1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc96fb;
/* rgb */ color: rgb(220, 150, 251);
/* oklch */ color: oklch(77.8% 0.156 314.9);
Tailwind
colors: {
  custom: {
    50: '#e8b6fd',
    500: '#dc96fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc96fb;
$custom-light: #e8b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96fb",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 281.584,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77814,
    "c": 0.15648,
    "h": 314.9
  },
  "luminance": 0.43993
}

Semantic roles & 50–950 ramp

primary
#DC96FB
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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