#DF97E1#DF97E1

#DF97E1 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.2% C 0.129 H 325.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#DF97E1
RGBrgb(223, 151, 225)
HSLhsl(298, 55%, 74%)
HSVhsv(298, 33%, 88%)
CMYKcmyk(0.9%, 32.9%, 0%, 11.8%)
CIE-LABlab(71.73, 38.73, -26.67)
CIE-LCHlch(71.73, 47.02, 325.45°)
OKLaboklab(77.17% 0.1067 -0.0724)
OKLCHoklch(77.17% 0.129 325.8)
XYZxyz(55.0874, 43.2595, 76.6677)
Luminance0.4326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF97E1 #99E197
analogous
#BA97E1 #DF97E1 #E197BE
triadic
#DF97E1 #E1DF97 #97E1DF
tetradic
#DF97E1 #E1BA97 #99E197 #97BEE1
square
#DF97E1 #E1BA97 #99E197 #97BEE1
split-complementary
#DF97E1 #BEE197 #97E1BA
monochromatic
#C139C5 #D067D3 #DF97E1 #EEC6EF #F8E7F8

Accessibility & contrast

On white

2.18
#DF97E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#DF97E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF97E1
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF97E1#FFFFFF#000000##000000
##DF97E11.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AAE4
Deuteranopia (green-blind)
#A3B3DE
Tritanopia (blue-blind)
#E39EB2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df97e1;
/* rgb */ color: rgb(223, 151, 225);
/* oklch */ color: oklch(77.2% 0.129 325.8);
Tailwind
colors: {
  custom: {
    50: '#eab6ea',
    500: '#df97e1',
    950: '#000000',
  },
}
SCSS
$custom: #df97e1;
$custom-light: #eab6ea;
$custom-dark: #000000;
JSON
{
  "hex": "#df97e1",
  "rgb": {
    "r": 223,
    "g": 151,
    "b": 225
  },
  "hsl": {
    "h": 298.378,
    "s": 55.224,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77174,
    "c": 0.12893,
    "h": 325.8
  },
  "luminance": 0.43257
}

Semantic roles & 50–950 ramp

primary
#DF97E1
secondary
#DCEFDC
accent
#C32327
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF97E1

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

Preview Lab → · Contrast checker → · Palette generator →

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