#DE97EC#DE97EC

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

Color values

HEX#DE97EC
RGBrgb(222, 151, 236)
HSLhsl(290, 69%, 76%)
HSVhsv(290, 36%, 93%)
CMYKcmyk(5.9%, 36%, 0%, 7.5%)
CIE-LABlab(72.04, 40.50, -32.22)
CIE-LCHlch(72.04, 51.75, 321.49°)
OKLaboklab(77.52% 0.1082 -0.0882)
OKLCHoklch(77.52% 0.14 320.8)
XYZxyz(56.3293, 43.7207, 84.8123)
Luminance0.4372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97EC #A5EC97
analogous
#B397EC #DE97EC #EC97CF
triadic
#DE97EC #ECDE97 #97ECDE
tetradic
#DE97EC #ECB397 #A5EC97 #97CFEC
square
#DE97EC #ECB397 #A5EC97 #97CFEC
split-complementary
#DE97EC #CFEC97 #97ECB3
monochromatic
#BD30D9 #CE63E3 #DE97EC #EECBF5 #F7E5FA

Accessibility & contrast

On white

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

On black

9.74
#DE97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97EC
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97EC#FFFFFF#000000##000000
##DE97EC1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#E0A1B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de97ec;
/* rgb */ color: rgb(222, 151, 236);
/* oklch */ color: oklch(77.5% 0.140 320.8);
Tailwind
colors: {
  custom: {
    50: '#e9b7f2',
    500: '#de97ec',
    950: '#000000',
  },
}
SCSS
$custom: #de97ec;
$custom-light: #e9b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de97ec",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 290.118,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77523,
    "c": 0.13958,
    "h": 320.8
  },
  "luminance": 0.43719
}

Semantic roles & 50–950 ramp

primary
#DE97EC
secondary
#DDF2D9
accent
#D11433
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DE97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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