#DE97DB#DE97DB

#DE97DB is a light, vivid purple. Relative luminance 0.428; OKLCH L 76.8% C 0.122 H 328.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#DE97DB
RGBrgb(222, 151, 219)
HSLhsl(303, 52%, 73%)
HSVhsv(303, 32%, 87%)
CMYKcmyk(0%, 32%, 1.4%, 12.9%)
CIE-LABlab(71.41, 37.31, -23.88)
CIE-LCHlch(71.41, 44.30, 327.38°)
OKLaboklab(76.83% 0.104 -0.0646)
OKLCHoklch(76.83% 0.122 328.1)
XYZxyz(53.9759, 42.7794, 72.4181)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97DB #97DE9A
analogous
#BD97DE #DE97DB #DE97B7
triadic
#DE97DB #DBDE97 #97DBDE
tetradic
#DE97DB #DEBD97 #97DE9A #97B7DE
square
#DE97DB #DEBD97 #97DE9A #97B7DE
split-complementary
#DE97DB #B7DE97 #97DEBD
monochromatic
#BE3CB9 #CF69CB #DE97DB #EDC5EB #F8E8F7

Accessibility & contrast

On white

2.20
#DE97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#DE97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97DB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97DB#FFFFFF#000000##000000
##DE97DB1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#A4B2D9
Tritanopia (blue-blind)
#E39DB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #de97db;
/* rgb */ color: rgb(222, 151, 219);
/* oklch */ color: oklch(76.8% 0.122 328.1);
Tailwind
colors: {
  custom: {
    50: '#e9b6e6',
    500: '#de97db',
    950: '#000000',
  },
}
SCSS
$custom: #de97db;
$custom-light: #e9b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#de97db",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 302.535,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76831,
    "c": 0.1224,
    "h": 328.1
  },
  "luminance": 0.42777
}

Semantic roles & 50–950 ramp

primary
#DE97DB
secondary
#DCEFDD
accent
#BF2D26
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DE97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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