#DE97DF#DE97DF

#DE97DF is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.0% C 0.126 H 326.2°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#DE97DF
RGBrgb(222, 151, 223)
HSLhsl(299, 53%, 73%)
HSVhsv(299, 32%, 87%)
CMYKcmyk(0.4%, 32.3%, 0%, 12.5%)
CIE-LABlab(71.55, 38.04, -25.86)
CIE-LCHlch(71.55, 46.00, 325.80°)
OKLaboklab(76.99% 0.105 -0.0702)
OKLCHoklch(76.99% 0.126 326.2)
XYZxyz(54.5089, 42.9925, 75.2248)
Luminance0.4299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97DF #98DF97
analogous
#BA97DF #DE97DF #DF97BC
triadic
#DE97DF #DFDE97 #97DFDE
tetradic
#DE97DF #DFBA97 #98DF97 #97BCDF
square
#DE97DF #DFBA97 #98DF97 #97BCDF
split-complementary
#DE97DF #BCDF97 #97DFBA
monochromatic
#BF3BC0 #CF68D1 #DE97DF #EDC6ED #F8E8F8

Accessibility & contrast

On white

2.19
#DE97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#DE97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97DF
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97DF#FFFFFF#000000##000000
##DE97DF1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#A3B2DD
Tritanopia (blue-blind)
#E29EB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #de97df;
/* rgb */ color: rgb(222, 151, 223);
/* oklch */ color: oklch(77.0% 0.126 326.2);
Tailwind
colors: {
  custom: {
    50: '#e9b6e9',
    500: '#de97df',
    950: '#000000',
  },
}
SCSS
$custom: #de97df;
$custom-light: #e9b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#de97df",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 299.167,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76989,
    "c": 0.1263,
    "h": 326.2
  },
  "luminance": 0.42991
}

Semantic roles & 50–950 ramp

primary
#DE97DF
secondary
#DCEFDC
accent
#C02527
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DE97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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