#DE97FE#DE97FE

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

Color values

HEX#DE97FE
RGBrgb(222, 151, 254)
HSLhsl(281, 98%, 79%)
HSVhsv(281, 41%, 100%)
CMYKcmyk(12.6%, 40.6%, 0%, 0.4%)
CIE-LABlab(72.77, 44.07, -40.88)
CIE-LCHlch(72.77, 60.11, 317.14°)
OKLaboklab(78.31% 0.112 -0.1129)
OKLCHoklch(78.31% 0.159 314.8)
XYZxyz(59.0774, 44.8199, 99.2857)
Luminance0.4482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97FE #B7FE97
analogous
#AB97FE #DE97FE #FE97EB
triadic
#DE97FE #FEDE97 #97FEDE
tetradic
#DE97FE #FEAB97 #B7FE97 #97EBFE
square
#DE97FE #FEAB97 #B7FE97 #97EBFE
split-complementary
#DE97FE #EBFE97 #97FEAB
monochromatic
#B81EFD #CB5AFD #DE97FE #F1D4FF #F5E1FF

Accessibility & contrast

On white

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

On black

9.96
#DE97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97FE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97FE#FFFFFF#000000##000000
##DE97FE1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#97B5FB
Tritanopia (blue-blind)
#DCA5BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #de97fe;
/* rgb */ color: rgb(222, 151, 254);
/* oklch */ color: oklch(78.3% 0.159 314.8);
Tailwind
colors: {
  custom: {
    50: '#eab7ff',
    500: '#de97fe',
    950: '#000000',
  },
}
SCSS
$custom: #de97fe;
$custom-light: #eab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#de97fe",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 281.359,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78314,
    "c": 0.15902,
    "h": 314.8
  },
  "luminance": 0.44819
}

Semantic roles & 50–950 ramp

primary
#DE97FE
secondary
#DFF7D4
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DE97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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