#DE97EB#DE97EB

#DE97EB is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.5% C 0.139 H 321.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#DE97EB
RGBrgb(222, 151, 235)
HSLhsl(291, 68%, 76%)
HSVhsv(291, 36%, 92%)
CMYKcmyk(5.5%, 35.7%, 0%, 7.8%)
CIE-LABlab(72.00, 40.31, -31.74)
CIE-LCHlch(72.00, 51.30, 321.78°)
OKLaboklab(77.48% 0.108 -0.0868)
OKLCHoklch(77.48% 0.139 321.2)
XYZxyz(56.1844, 43.6627, 84.0493)
Luminance0.4366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97EB #A4EB97
analogous
#B497EB #DE97EB #EB97CE
triadic
#DE97EB #EBDE97 #97EBDE
tetradic
#DE97EB #EBB497 #A4EB97 #97CEEB
square
#DE97EB #EBB497 #A4EB97 #97CEEB
split-complementary
#DE97EB #CEEB97 #97EBB4
monochromatic
#BD30D7 #CE64E1 #DE97EB #EECAF5 #F7E5FA

Accessibility & contrast

On white

2.16
#DE97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#DE97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97EB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97EB#FFFFFF#000000##000000
##DE97EB1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#9FB3E8
Tritanopia (blue-blind)
#E0A0B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #de97eb;
/* rgb */ color: rgb(222, 151, 235);
/* oklch */ color: oklch(77.5% 0.139 321.2);
Tailwind
colors: {
  custom: {
    50: '#e9b6f1',
    500: '#de97eb',
    950: '#000000',
  },
}
SCSS
$custom: #de97eb;
$custom-light: #e9b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#de97eb",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 290.714,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7748,
    "c": 0.13853,
    "h": 321.2
  },
  "luminance": 0.43661
}

Semantic roles & 50–950 ramp

primary
#DE97EB
secondary
#DDF2D9
accent
#D01633
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DE97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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