#DC96FA#DC96FA

#DC96FA is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.8% C 0.155 H 315.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#DC96FA
RGBrgb(220, 150, 250)
HSLhsl(282, 91%, 78%)
HSVhsv(282, 40%, 98%)
CMYKcmyk(12%, 40%, 0%, 2%)
CIE-LABlab(72.18, 43.20, -39.65)
CIE-LCHlch(72.18, 58.64, 317.46°)
OKLaboklab(77.77% 0.1103 -0.1094)
OKLCHoklch(77.77% 0.155 315.2)
XYZxyz(57.6742, 43.9318, 95.8655)
Luminance0.4393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC96FA #B4FA96
analogous
#AA96FA #DC96FA #FA96E6
triadic
#DC96FA #FADC96 #96FADC
tetradic
#DC96FA #FAAA96 #B4FA96 #96E6FA
square
#DC96FA #FAAA96 #B4FA96 #96E6FA
split-complementary
#DC96FA #E6FA96 #96FAAA
monochromatic
#B521F4 #C95CF7 #DC96FA #EFD0FD #F5E2FE

Accessibility & contrast

On white

2.15
#DC96FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#DC96FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC96FA
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC96FA#FFFFFF#000000##000000
##DC96FA1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFE
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#DAA4BC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dc96fa;
/* rgb */ color: rgb(220, 150, 250);
/* oklch */ color: oklch(77.8% 0.155 315.2);
Tailwind
colors: {
  custom: {
    50: '#e8b6fc',
    500: '#dc96fa',
    950: '#000000',
  },
}
SCSS
$custom: #dc96fa;
$custom-light: #e8b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc96fa",
  "rgb": {
    "r": 220,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 282,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77768,
    "c": 0.15537,
    "h": 315.2
  },
  "luminance": 0.4393
}

Semantic roles & 50–950 ramp

primary
#DC96FA
secondary
#DFF6D5
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC96FA

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

Preview Lab → · Contrast checker → · Palette generator →

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