#DD97EB#DD97EB

#DD97EB is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.4% C 0.138 H 320.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#DD97EB
RGBrgb(221, 151, 235)
HSLhsl(290, 68%, 76%)
HSVhsv(290, 36%, 92%)
CMYKcmyk(6%, 35.7%, 0%, 7.8%)
CIE-LABlab(71.90, 40.00, -31.91)
CIE-LCHlch(71.90, 51.17, 321.42°)
OKLaboklab(77.38% 0.1068 -0.0873)
OKLCHoklch(77.38% 0.138 320.7)
XYZxyz(55.8789, 43.5052, 84.0350)
Luminance0.4350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97EB #A5EB97
analogous
#B397EB #DD97EB #EB97CF
triadic
#DD97EB #EBDD97 #97EBDD
tetradic
#DD97EB #EBB397 #A5EB97 #97CFEB
square
#DD97EB #EBB397 #A5EB97 #97CFEB
split-complementary
#DD97EB #CFEB97 #97EBB3
monochromatic
#BB30D7 #CC64E1 #DD97EB #EECAF5 #F7E5FA

Accessibility & contrast

On white

2.16
#DD97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#DD97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97EB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97EB#FFFFFF#000000##000000
##DD97EB1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#DFA1B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dd97eb;
/* rgb */ color: rgb(221, 151, 235);
/* oklch */ color: oklch(77.4% 0.138 320.7);
Tailwind
colors: {
  custom: {
    50: '#e9b6f1',
    500: '#dd97eb',
    950: '#000000',
  },
}
SCSS
$custom: #dd97eb;
$custom-light: #e9b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97eb",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 290,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77377,
    "c": 0.13796,
    "h": 320.7
  },
  "luminance": 0.43504
}

Semantic roles & 50–950 ramp

primary
#DD97EB
secondary
#DDF2D9
accent
#D01635
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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