#DE97F9#DE97F9

#DE97F9 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.1% C 0.154 H 316.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#DE97F9
RGBrgb(222, 151, 249)
HSLhsl(283, 89%, 78%)
HSVhsv(283, 39%, 98%)
CMYKcmyk(10.8%, 39.4%, 0%, 2.4%)
CIE-LABlab(72.56, 43.06, -38.50)
CIE-LCHlch(72.56, 57.76, 318.20°)
OKLaboklab(78.09% 0.111 -0.1061)
OKLCHoklch(78.09% 0.154 316.3)
XYZxyz(58.2872, 44.5038, 95.1238)
Luminance0.4450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97F9 #B2F997
analogous
#AD97F9 #DE97F9 #F997E3
triadic
#DE97F9 #F9DE97 #97F9DE
tetradic
#DE97F9 #F9AD97 #B2F997 #97E3F9
square
#DE97F9 #F9AD97 #B2F997 #97E3F9
split-complementary
#DE97F9 #E3F997 #97F9AD
monochromatic
#B923F2 #CC5DF6 #DE97F9 #F0D1FC #F6E2FD

Accessibility & contrast

On white

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

On black

9.90
#DE97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97F9
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97F9#FFFFFF#000000##000000
##DE97F91.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFD
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#DDA4BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de97f9;
/* rgb */ color: rgb(222, 151, 249);
/* oklch */ color: oklch(78.1% 0.154 316.3);
Tailwind
colors: {
  custom: {
    50: '#e9b7fb',
    500: '#de97f9',
    950: '#000000',
  },
}
SCSS
$custom: #de97f9;
$custom-light: #e9b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de97f9",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 283.469,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78088,
    "c": 0.15353,
    "h": 316.3
  },
  "luminance": 0.44502
}

Semantic roles & 50–950 ramp

primary
#DE97F9
secondary
#DEF5D6
accent
#E6003F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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