#DE97EF#DE97EF

#DE97EF is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.6% C 0.143 H 319.7°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#DE97EF
RGBrgb(222, 151, 239)
HSLhsl(288, 73%, 76%)
HSVhsv(288, 37%, 94%)
CMYKcmyk(7.1%, 36.8%, 0%, 6.3%)
CIE-LABlab(72.16, 41.08, -33.68)
CIE-LCHlch(72.16, 53.12, 320.65°)
OKLaboklab(77.65% 0.1089 -0.0923)
OKLCHoklch(77.65% 0.143 319.7)
XYZxyz(56.7688, 43.8965, 87.1271)
Luminance0.4390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97EF #A8EF97
analogous
#B297EF #DE97EF #EF97D4
triadic
#DE97EF #EFDE97 #97EFDE
tetradic
#DE97EF #EFB297 #A8EF97 #97D4EF
square
#DE97EF #EFB297 #A8EF97 #97D4EF
split-complementary
#DE97EF #D4EF97 #97EFB2
monochromatic
#BC2DDF #CD62E7 #DE97EF #EFCCF7 #F7E4FB

Accessibility & contrast

On white

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

On black

9.78
#DE97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97EF
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97EF#FFFFFF#000000##000000
##DE97EF1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#9DB4EC
Tritanopia (blue-blind)
#DFA1B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de97ef;
/* rgb */ color: rgb(222, 151, 239);
/* oklch */ color: oklch(77.6% 0.143 319.7);
Tailwind
colors: {
  custom: {
    50: '#e9b7f4',
    500: '#de97ef',
    950: '#000000',
  },
}
SCSS
$custom: #de97ef;
$custom-light: #e9b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#de97ef",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 288.409,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7765,
    "c": 0.14274,
    "h": 319.7
  },
  "luminance": 0.43895
}

Semantic roles & 50–950 ramp

primary
#DE97EF
secondary
#DDF3D8
accent
#D51036
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DE97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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