#DE97FB#DE97FB

#DE97FB is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.2% C 0.156 H 315.7°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#DE97FB
RGBrgb(222, 151, 251)
HSLhsl(283, 93%, 79%)
HSVhsv(283, 40%, 98%)
CMYKcmyk(11.6%, 39.8%, 0%, 1.6%)
CIE-LABlab(72.65, 43.46, -39.45)
CIE-LCHlch(72.65, 58.70, 317.76°)
OKLaboklab(78.18% 0.1114 -0.1088)
OKLCHoklch(78.18% 0.156 315.7)
XYZxyz(58.6007, 44.6293, 96.7754)
Luminance0.4463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97FB #B4FB97
analogous
#AC97FB #DE97FB #FB97E6
triadic
#DE97FB #FBDE97 #97FBDE
tetradic
#DE97FB #FBAC97 #B4FB97 #97E6FB
square
#DE97FB #FBAC97 #B4FB97 #97E6FB
split-complementary
#DE97FB #E6FB97 #97FBAC
monochromatic
#B921F6 #CB5CF9 #DE97FB #F1D2FD #F6E2FE

Accessibility & contrast

On white

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

On black

9.93
#DE97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97FB
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97FB#FFFFFF#000000##000000
##DE97FB1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de97fb;
/* rgb */ color: rgb(222, 151, 251);
/* oklch */ color: oklch(78.2% 0.156 315.7);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#de97fb',
    950: '#000000',
  },
}
SCSS
$custom: #de97fb;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de97fb",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 282.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78178,
    "c": 0.15572,
    "h": 315.7
  },
  "luminance": 0.44628
}

Semantic roles & 50–950 ramp

primary
#DE97FB
secondary
#DFF6D5
accent
#E60043
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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