#DE97FC#DE97FC

#DE97FC is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.2% C 0.157 H 315.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#DE97FC
RGBrgb(222, 151, 252)
HSLhsl(282, 94%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(11.9%, 40.1%, 0%, 1.2%)
CIE-LABlab(72.69, 43.66, -39.93)
CIE-LCHlch(72.69, 59.17, 317.55°)
OKLaboklab(78.22% 0.1116 -0.1102)
OKLCHoklch(78.22% 0.157 315.4)
XYZxyz(58.7588, 44.6925, 97.6078)
Luminance0.4469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97FC #B5FC97
analogous
#AC97FC #DE97FC #FC97E8
triadic
#DE97FC #FCDE97 #97FCDE
tetradic
#DE97FC #FCAC97 #B5FC97 #97E8FC
square
#DE97FC #FCAC97 #B5FC97 #97E8FC
split-complementary
#DE97FC #E8FC97 #97FCAC
monochromatic
#B820F9 #CB5CFA #DE97FC #F1D2FE #F6E1FE

Accessibility & contrast

On white

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

On black

9.94
#DE97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97FC
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97FC#FFFFFF#000000##000000
##DE97FC1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#98B4F9
Tritanopia (blue-blind)
#DCA5BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de97fc;
/* rgb */ color: rgb(222, 151, 252);
/* oklch */ color: oklch(78.2% 0.157 315.4);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#de97fc',
    950: '#000000',
  },
}
SCSS
$custom: #de97fc;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de97fc",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 282.178,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78223,
    "c": 0.15682,
    "h": 315.4
  },
  "luminance": 0.44691
}

Semantic roles & 50–950 ramp

primary
#DE97FC
secondary
#DFF6D5
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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