#DE97DD#DE97DD

#DE97DD is a light, vivid purple. Relative luminance 0.429; OKLCH L 76.9% C 0.124 H 327.2°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#DE97DD
RGBrgb(222, 151, 221)
HSLhsl(301, 52%, 73%)
HSVhsv(301, 32%, 87%)
CMYKcmyk(0%, 32%, 0.5%, 12.9%)
CIE-LABlab(71.48, 37.67, -24.87)
CIE-LCHlch(71.48, 45.14, 326.57°)
OKLaboklab(76.91% 0.1045 -0.0674)
OKLCHoklch(76.91% 0.124 327.2)
XYZxyz(54.2408, 42.8853, 73.8131)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97DD #97DE98
analogous
#BB97DE #DE97DD #DE97B9
triadic
#DE97DD #DDDE97 #97DDDE
tetradic
#DE97DD #DEBB97 #97DE98 #97B9DE
square
#DE97DD #DEBB97 #97DE98 #97B9DE
split-complementary
#DE97DD #B9DE97 #97DEBB
monochromatic
#BE3CBC #CF69CE #DE97DD #EDC5EC #F8E8F7

Accessibility & contrast

On white

2.19
#DE97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#DE97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97DD
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97DD#FFFFFF#000000##000000
##DE97DD1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9E0
Deuteranopia (green-blind)
#A4B2DB
Tritanopia (blue-blind)
#E29DB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #de97dd;
/* rgb */ color: rgb(222, 151, 221);
/* oklch */ color: oklch(76.9% 0.124 327.2);
Tailwind
colors: {
  custom: {
    50: '#e9b6e7',
    500: '#de97dd',
    950: '#000000',
  },
}
SCSS
$custom: #de97dd;
$custom-light: #e9b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#de97dd",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 300.845,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7691,
    "c": 0.12434,
    "h": 327.2
  },
  "luminance": 0.42883
}

Semantic roles & 50–950 ramp

primary
#DE97DD
secondary
#DCEFDD
accent
#BF2826
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DE97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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