#DE97ED#DE97ED

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

Color values

HEX#DE97ED
RGBrgb(222, 151, 237)
HSLhsl(290, 70%, 76%)
HSVhsv(290, 36%, 93%)
CMYKcmyk(6.3%, 36.3%, 0%, 7.1%)
CIE-LABlab(72.08, 40.69, -32.71)
CIE-LCHlch(72.08, 52.21, 321.21°)
OKLaboklab(77.57% 0.1084 -0.0895)
OKLCHoklch(77.57% 0.141 320.4)
XYZxyz(56.4750, 43.7790, 85.5796)
Luminance0.4378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97ED #A6ED97
analogous
#B397ED #DE97ED #ED97D1
triadic
#DE97ED #EDDE97 #97EDDE
tetradic
#DE97ED #EDB397 #A6ED97 #97D1ED
square
#DE97ED #EDB397 #A6ED97 #97D1ED
split-complementary
#DE97ED #D1ED97 #97EDB3
monochromatic
#BD2FDB #CD63E4 #DE97ED #EFCBF6 #F7E5FA

Accessibility & contrast

On white

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

On black

9.76
#DE97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97ED
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97ED#FFFFFF#000000##000000
##DE97ED1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de97ed;
/* rgb */ color: rgb(222, 151, 237);
/* oklch */ color: oklch(77.6% 0.141 320.4);
Tailwind
colors: {
  custom: {
    50: '#e9b7f3',
    500: '#de97ed',
    950: '#000000',
  },
}
SCSS
$custom: #de97ed;
$custom-light: #e9b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#de97ed",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 289.535,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77565,
    "c": 0.14063,
    "h": 320.4
  },
  "luminance": 0.43777
}

Semantic roles & 50–950 ramp

primary
#DE97ED
secondary
#DDF2D9
accent
#D31334
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DE97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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