#DD97EA#DD97EA

#DD97EA is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.3% C 0.137 H 321.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#DD97EA
RGBrgb(221, 151, 234)
HSLhsl(291, 66%, 75%)
HSVhsv(291, 35%, 92%)
CMYKcmyk(5.6%, 35.5%, 0%, 8.2%)
CIE-LABlab(71.86, 39.81, -31.42)
CIE-LCHlch(71.86, 50.71, 321.71°)
OKLaboklab(77.33% 0.1066 -0.0859)
OKLCHoklch(77.33% 0.137 321.1)
XYZxyz(55.7349, 43.4476, 83.2762)
Luminance0.4345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97EA #A4EA97
analogous
#B397EA #DD97EA #EA97CE
triadic
#DD97EA #EADD97 #97EADD
tetradic
#DD97EA #EAB397 #A4EA97 #97CEEA
square
#DD97EA #EAB397 #A4EA97 #97CEEA
split-complementary
#DD97EA #CEEA97 #97EAB3
monochromatic
#BC31D5 #CC64E0 #DD97EA #EECAF4 #F7E6FA

Accessibility & contrast

On white

2.17
#DD97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#DD97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97EA
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97EA#FFFFFF#000000##000000
##DD97EA1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#9FB3E7
Tritanopia (blue-blind)
#DFA0B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dd97ea;
/* rgb */ color: rgb(221, 151, 234);
/* oklch */ color: oklch(77.3% 0.137 321.1);
Tailwind
colors: {
  custom: {
    50: '#e8b6f1',
    500: '#dd97ea',
    950: '#000000',
  },
}
SCSS
$custom: #dd97ea;
$custom-light: #e8b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97ea",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 290.602,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77334,
    "c": 0.13691,
    "h": 321.1
  },
  "luminance": 0.43446
}

Semantic roles & 50–950 ramp

primary
#DD97EA
secondary
#DDF1DA
accent
#CE1734
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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