#DD97ED#DD97ED

#DD97ED is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.5% C 0.140 H 320.0°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#DD97ED
RGBrgb(221, 151, 237)
HSLhsl(289, 70%, 76%)
HSVhsv(289, 36%, 93%)
CMYKcmyk(6.8%, 36.3%, 0%, 7.1%)
CIE-LABlab(71.97, 40.39, -32.88)
CIE-LCHlch(71.97, 52.08, 320.85°)
OKLaboklab(77.46% 0.1073 -0.0901)
OKLCHoklch(77.46% 0.14 320)
XYZxyz(56.1695, 43.6215, 85.5653)
Luminance0.4362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97ED #A7ED97
analogous
#B297ED #DD97ED #ED97D2
triadic
#DD97ED #EDDD97 #97EDDD
tetradic
#DD97ED #EDB297 #A7ED97 #97D2ED
square
#DD97ED #EDB297 #A7ED97 #97D2ED
split-complementary
#DD97ED #D2ED97 #97EDB2
monochromatic
#BB2FDB #CC63E4 #DD97ED #EECBF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.72
#DD97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97ED
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97ED#FFFFFF#000000##000000
##DD97ED1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF0
Deuteranopia (green-blind)
#9DB3EA
Tritanopia (blue-blind)
#DEA1B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dd97ed;
/* rgb */ color: rgb(221, 151, 237);
/* oklch */ color: oklch(77.5% 0.140 320.0);
Tailwind
colors: {
  custom: {
    50: '#e9b6f3',
    500: '#dd97ed',
    950: '#000000',
  },
}
SCSS
$custom: #dd97ed;
$custom-light: #e9b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97ed",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 288.837,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77461,
    "c": 0.14008,
    "h": 320
  },
  "luminance": 0.4362
}

Semantic roles & 50–950 ramp

primary
#DD97ED
secondary
#DEF2D9
accent
#D31337
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DD97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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