#DC96FE#DC96FE

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

Color values

HEX#DC96FE
RGBrgb(220, 150, 254)
HSLhsl(280, 98%, 79%)
HSVhsv(280, 41%, 100%)
CMYKcmyk(13.4%, 40.9%, 0%, 0.4%)
CIE-LABlab(72.35, 44.02, -41.56)
CIE-LCHlch(72.35, 60.54, 316.65°)
OKLaboklab(77.95% 0.1111 -0.1149)
OKLCHoklch(77.95% 0.16 314)
XYZxyz(58.3081, 44.1854, 99.2038)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96FE #B8FE96
analogous
#A896FE #DC96FE #FE96EC
triadic
#DC96FE #FEDC96 #96FEDC
tetradic
#DC96FE #FEA896 #B8FE96 #96ECFE
square
#DC96FE #FEA896 #B8FE96 #96ECFE
split-complementary
#DC96FE #ECFE96 #96FEA8
monochromatic
#B41DFD #C859FD #DC96FE #F0D3FF #F5E1FF

Accessibility & contrast

On white

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

On black

9.84
#DC96FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96FE
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96FE#FFFFFF#000000##000000
##DC96FE1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#95B3FB
Tritanopia (blue-blind)
#DAA5BE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dc96fe;
/* rgb */ color: rgb(220, 150, 254);
/* oklch */ color: oklch(78.0% 0.160 314.0);
Tailwind
colors: {
  custom: {
    50: '#e8b6ff',
    500: '#dc96fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc96fe;
$custom-light: #e8b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96fe",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 280.385,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77951,
    "c": 0.15981,
    "h": 314
  },
  "luminance": 0.44184
}

Semantic roles & 50–950 ramp

primary
#DC96FE
secondary
#DFF7D4
accent
#E6004B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC96FE

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

Preview Lab → · Contrast checker → · Palette generator →

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