#DC97DB#DC97DB

#DC97DB is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.6% C 0.121 H 327.2°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#DC97DB
RGBrgb(220, 151, 219)
HSLhsl(301, 50%, 73%)
HSVhsv(301, 31%, 86%)
CMYKcmyk(0%, 31.4%, 0.5%, 13.7%)
CIE-LABlab(71.19, 36.67, -24.23)
CIE-LCHlch(71.19, 43.95, 326.55°)
OKLaboklab(76.62% 0.1017 -0.0656)
OKLCHoklch(76.62% 0.121 327.2)
XYZxyz(53.3669, 42.4653, 72.3896)
Luminance0.4246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97DB #97DC98
analogous
#BB97DC #DC97DB #DC97B8
triadic
#DC97DB #DBDC97 #97DBDC
tetradic
#DC97DB #DCBB97 #97DC98 #97B8DC
square
#DC97DB #DCBB97 #97DC98 #97B8DC
split-complementary
#DC97DB #B8DC97 #97DCBB
monochromatic
#BA3FB8 #CD69CB #DC97DB #EBC5EB #F7E8F7

Accessibility & contrast

On white

2.21
#DC97DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#DC97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97DB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97DB#FFFFFF#000000##000000
##DC97DB1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DE
Deuteranopia (green-blind)
#A3B1D9
Tritanopia (blue-blind)
#E09DB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc97db;
/* rgb */ color: rgb(220, 151, 219);
/* oklch */ color: oklch(76.6% 0.121 327.2);
Tailwind
colors: {
  custom: {
    50: '#e8b6e6',
    500: '#dc97db',
    950: '#000000',
  },
}
SCSS
$custom: #dc97db;
$custom-light: #e8b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97db",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 300.87,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76621,
    "c": 0.12102,
    "h": 327.2
  },
  "luminance": 0.42463
}

Semantic roles & 50–950 ramp

primary
#DC97DB
secondary
#DDEEDD
accent
#BD2B29
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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