#DD97DD#DD97DD

#DD97DD is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.8% C 0.124 H 326.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#DD97DD
RGBrgb(221, 151, 221)
HSLhsl(300, 51%, 73%)
HSVhsv(300, 32%, 87%)
CMYKcmyk(0%, 31.7%, 0%, 13.3%)
CIE-LABlab(71.37, 37.36, -25.04)
CIE-LCHlch(71.37, 44.97, 326.16°)
OKLaboklab(76.8% 0.1034 -0.0679)
OKLCHoklch(76.8% 0.124 326.7)
XYZxyz(53.9354, 42.7278, 73.7988)
Luminance0.4273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD97DD #97DD97
analogous
#BA97DD #DD97DD #DD97BA
triadic
#DD97DD #DDDD97 #97DDDD
tetradic
#DD97DD #DDBA97 #97DD97 #97BADD
square
#DD97DD #DDBA97 #97DD97 #97BADD
split-complementary
#DD97DD #BADD97 #97DDBA
monochromatic
#BC3DBC #CE69CE #DD97DD #ECC5EC #F7E8F7

Accessibility & contrast

On white

2.20
#DD97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#DD97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD97DD
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD97DD#FFFFFF#000000##000000
##DD97DD1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9E0
Deuteranopia (green-blind)
#A3B2DB
Tritanopia (blue-blind)
#E19DB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dd97dd;
/* rgb */ color: rgb(221, 151, 221);
/* oklch */ color: oklch(76.8% 0.124 326.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6e7',
    500: '#dd97dd',
    950: '#000000',
  },
}
SCSS
$custom: #dd97dd;
$custom-light: #e8b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd97dd",
  "rgb": {
    "r": 221,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 300,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76804,
    "c": 0.12366,
    "h": 326.7
  },
  "luminance": 0.42726
}

Semantic roles & 50–950 ramp

primary
#DD97DD
secondary
#DCEFDC
accent
#BE2727
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DD97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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