#DF97EA#DF97EA

#DF97EA is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.5% C 0.138 H 322.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#DF97EA
RGBrgb(223, 151, 234)
HSLhsl(292, 66%, 75%)
HSVhsv(292, 35%, 92%)
CMYKcmyk(4.7%, 35.5%, 0%, 8.2%)
CIE-LABlab(72.07, 40.42, -31.08)
CIE-LCHlch(72.07, 50.99, 322.44°)
OKLaboklab(77.54% 0.1089 -0.0849)
OKLCHoklch(77.54% 0.138 322.1)
XYZxyz(56.3476, 43.7635, 83.3050)
Luminance0.4376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97EA #A2EA97
analogous
#B597EA #DF97EA #EA97CB
triadic
#DF97EA #EADF97 #97EADF
tetradic
#DF97EA #EAB597 #A2EA97 #97CBEA
square
#DF97EA #EAB597 #A2EA97 #97CBEA
split-complementary
#DF97EA #CBEA97 #97EAB5
monochromatic
#C031D5 #CF64E0 #DF97EA #EFCAF4 #F7E6FA

Accessibility & contrast

On white

2.15
#DF97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#DF97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97EA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97EA#FFFFFF#000000##000000
##DF97EA1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABED
Deuteranopia (green-blind)
#A0B4E7
Tritanopia (blue-blind)
#E1A0B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df97ea;
/* rgb */ color: rgb(223, 151, 234);
/* oklch */ color: oklch(77.5% 0.138 322.1);
Tailwind
colors: {
  custom: {
    50: '#eab7f1',
    500: '#df97ea',
    950: '#000000',
  },
}
SCSS
$custom: #df97ea;
$custom-light: #eab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#df97ea",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 292.048,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77543,
    "c": 0.13806,
    "h": 322.1
  },
  "luminance": 0.43762
}

Semantic roles & 50–950 ramp

primary
#DF97EA
secondary
#DDF1DA
accent
#CE172F
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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