#DD96FC#DD96FC

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

Color values

HEX#DD96FC
RGBrgb(221, 150, 252)
HSLhsl(282, 94%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(12.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(72.37, 43.90, -40.43)
CIE-LCHlch(72.37, 59.68, 317.35°)
OKLaboklab(77.96% 0.1119 -0.1116)
OKLCHoklch(77.96% 0.158 315.1)
XYZxyz(58.2931, 44.2145, 97.5401)
Luminance0.4421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD96FC #B5FC96
analogous
#AA96FC #DD96FC #FC96E8
triadic
#DD96FC #FCDD96 #96FCDD
tetradic
#DD96FC #FCAA96 #B5FC96 #96E8FC
square
#DD96FC #FCAA96 #B5FC96 #96E8FC
split-complementary
#DD96FC #E8FC96 #96FCAA
monochromatic
#B61FF9 #CA5BFA #DD96FC #F0D2FE #F5E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DD96FC#FFFFFF#000000##000000
##DD96FC1.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)
#84ADFF
Deuteranopia (green-blind)
#96B4F9
Tritanopia (blue-blind)
#DBA4BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #dd96fc;
/* rgb */ color: rgb(221, 150, 252);
/* oklch */ color: oklch(78.0% 0.158 315.1);
Tailwind
colors: {
  custom: {
    50: '#e9b6fd',
    500: '#dd96fc',
    950: '#000000',
  },
}
SCSS
$custom: #dd96fc;
$custom-light: #e9b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd96fc",
  "rgb": {
    "r": 221,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 281.765,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77961,
    "c": 0.15803,
    "h": 315.1
  },
  "luminance": 0.44213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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