#DE97FD#DE97FD

#DE97FD is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.3% C 0.158 H 315.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#DE97FD
RGBrgb(222, 151, 253)
HSLhsl(282, 96%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(12.3%, 40.3%, 0%, 0.8%)
CIE-LABlab(72.73, 43.86, -40.41)
CIE-LCHlch(72.73, 59.64, 317.35°)
OKLaboklab(78.27% 0.1118 -0.1115)
OKLCHoklch(78.27% 0.158 315.1)
XYZxyz(58.9177, 44.7561, 98.4446)
Luminance0.4476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97FD #B6FD97
analogous
#AB97FD #DE97FD #FD97E9
triadic
#DE97FD #FDDE97 #97FDDE
tetradic
#DE97FD #FDAB97 #B6FD97 #97E9FD
square
#DE97FD #FDAB97 #B6FD97 #97E9FD
split-complementary
#DE97FD #E9FD97 #97FDAB
monochromatic
#B81FFB #CB5BFC #DE97FD #F1D3FE #F5E1FE

Accessibility & contrast

On white

2.11
#DE97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#DE97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97FD
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97FD#FFFFFF#000000##000000
##DE97FD1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#97B5FA
Tritanopia (blue-blind)
#DCA5BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de97fd;
/* rgb */ color: rgb(222, 151, 253);
/* oklch */ color: oklch(78.3% 0.158 315.1);
Tailwind
colors: {
  custom: {
    50: '#eab7fe',
    500: '#de97fd',
    950: '#000000',
  },
}
SCSS
$custom: #de97fd;
$custom-light: #eab7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#de97fd",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 281.765,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78269,
    "c": 0.15792,
    "h": 315.1
  },
  "luminance": 0.44755
}

Semantic roles & 50–950 ramp

primary
#DE97FD
secondary
#DFF7D4
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DE97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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