#DE96F2#DE96F2

#DE96F2 is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.6% C 0.148 H 318.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#DE96F2
RGBrgb(222, 150, 242)
HSLhsl(287, 78%, 77%)
HSVhsv(287, 38%, 95%)
CMYKcmyk(8.3%, 38%, 0%, 5.1%)
CIE-LABlab(72.06, 42.20, -35.46)
CIE-LCHlch(72.06, 55.12, 319.96°)
OKLaboklab(77.62% 0.111 -0.0974)
OKLCHoklch(77.62% 0.148 318.7)
XYZxyz(57.0554, 43.7547, 89.4272)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE96F2 #AAF296
analogous
#B096F2 #DE96F2 #F296D8
triadic
#DE96F2 #F2DE96 #96F2DE
tetradic
#DE96F2 #F2B096 #AAF296 #96D8F2
square
#DE96F2 #F2B096 #AAF296 #96D8F2
split-complementary
#DE96F2 #D8F296 #96F2B0
monochromatic
#BC29E5 #CD60EB #DE96F2 #EFCCF9 #F6E4FC

Accessibility & contrast

On white

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

On black

9.75
#DE96F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE96F2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE96F2#FFFFFF#000000##000000
##DE96F21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#DFA1B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de96f2;
/* rgb */ color: rgb(222, 150, 242);
/* oklch */ color: oklch(77.6% 0.148 318.7);
Tailwind
colors: {
  custom: {
    50: '#e9b6f6',
    500: '#de96f2',
    950: '#000000',
  },
}
SCSS
$custom: #de96f2;
$custom-light: #e9b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#de96f2",
  "rgb": {
    "r": 222,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 286.957,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77618,
    "c": 0.14765,
    "h": 318.7
  },
  "luminance": 0.43753
}

Semantic roles & 50–950 ramp

primary
#DE96F2
secondary
#DEF3D8
accent
#DA0B38
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DE96F2

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

Preview Lab → · Contrast checker → · Palette generator →

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