#DE97F8#DE97F8

#DE97F8 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.0% C 0.152 H 316.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#DE97F8
RGBrgb(222, 151, 248)
HSLhsl(284, 87%, 78%)
HSVhsv(284, 39%, 97%)
CMYKcmyk(10.5%, 39.1%, 0%, 2.7%)
CIE-LABlab(72.52, 42.86, -38.02)
CIE-LCHlch(72.52, 57.29, 318.42°)
OKLaboklab(78.04% 0.1108 -0.1047)
OKLCHoklch(78.04% 0.152 316.6)
XYZxyz(58.1316, 44.4416, 94.3046)
Luminance0.4444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97F8 #B1F897
analogous
#AD97F8 #DE97F8 #F897E1
triadic
#DE97F8 #F8DE97 #97F8DE
tetradic
#DE97F8 #F8AD97 #B1F897 #97E1F8
square
#DE97F8 #F8AD97 #B1F897 #97E1F8
split-complementary
#DE97F8 #E1F897 #97F8AD
monochromatic
#BA24F0 #CC5EF4 #DE97F8 #F0D0FC #F6E2FD

Accessibility & contrast

On white

2.12
#DE97F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#DE97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97F8
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97F8#FFFFFF#000000##000000
##DE97F81.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADFC
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#DDA4BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de97f8;
/* rgb */ color: rgb(222, 151, 248);
/* oklch */ color: oklch(78.0% 0.152 316.6);
Tailwind
colors: {
  custom: {
    50: '#e9b7fb',
    500: '#de97f8',
    950: '#000000',
  },
}
SCSS
$custom: #de97f8;
$custom-light: #e9b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de97f8",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 283.918,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78044,
    "c": 0.15244,
    "h": 316.6
  },
  "luminance": 0.4444
}

Semantic roles & 50–950 ramp

primary
#DE97F8
secondary
#DEF5D6
accent
#E4023E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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