#DE97FA#DE97FA

#DE97FA is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.1% C 0.155 H 316.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#DE97FA
RGBrgb(222, 151, 250)
HSLhsl(283, 91%, 79%)
HSVhsv(283, 40%, 98%)
CMYKcmyk(11.2%, 39.6%, 0%, 2%)
CIE-LABlab(72.61, 43.26, -38.98)
CIE-LCHlch(72.61, 58.23, 317.98°)
OKLaboklab(78.13% 0.1112 -0.1074)
OKLCHoklch(78.13% 0.155 316)
XYZxyz(58.4435, 44.5664, 95.9474)
Luminance0.4456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97FA #B3FA97
analogous
#AC97FA #DE97FA #FA97E5
triadic
#DE97FA #FADE97 #97FADE
tetradic
#DE97FA #FAAC97 #B3FA97 #97E5FA
square
#DE97FA #FAAC97 #B3FA97 #97E5FA
split-complementary
#DE97FA #E5FA97 #97FAAC
monochromatic
#B922F4 #CB5DF7 #DE97FA #F1D1FD #F6E2FE

Accessibility & contrast

On white

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

On black

9.91
#DE97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97FA
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97FA#FFFFFF#000000##000000
##DE97FA1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#DDA4BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de97fa;
/* rgb */ color: rgb(222, 151, 250);
/* oklch */ color: oklch(78.1% 0.155 316.0);
Tailwind
colors: {
  custom: {
    50: '#eab7fc',
    500: '#de97fa',
    950: '#000000',
  },
}
SCSS
$custom: #de97fa;
$custom-light: #eab7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#de97fa",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 283.03,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78133,
    "c": 0.15462,
    "h": 316
  },
  "luminance": 0.44565
}

Semantic roles & 50–950 ramp

primary
#DE97FA
secondary
#DEF6D5
accent
#E60041
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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