#DC97DA#DC97DA

#DC97DA is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.6% C 0.120 H 327.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#DC97DA
RGBrgb(220, 151, 218)
HSLhsl(302, 50%, 73%)
HSVhsv(302, 31%, 86%)
CMYKcmyk(0%, 31.4%, 0.9%, 13.7%)
CIE-LABlab(71.15, 36.49, -23.73)
CIE-LCHlch(71.15, 43.53, 326.96°)
OKLaboklab(76.58% 0.1014 -0.0642)
OKLCHoklch(76.58% 0.12 327.7)
XYZxyz(53.2356, 42.4128, 71.6983)
Luminance0.4241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97DA #97DC99
analogous
#BB97DC #DC97DA #DC97B7
triadic
#DC97DA #DADC97 #97DADC
tetradic
#DC97DA #DCBB97 #97DC99 #97B7DC
square
#DC97DA #DCBB97 #97DC99 #97B7DC
split-complementary
#DC97DA #B7DC97 #97DCBB
monochromatic
#BA3FB6 #CD69CA #DC97DA #EBC5EA #F7E8F7

Accessibility & contrast

On white

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

On black

9.48
#DC97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97DA
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97DA#FFFFFF#000000##000000
##DC97DA1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DD
Deuteranopia (green-blind)
#A4B1D8
Tritanopia (blue-blind)
#E19DAF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc97da;
/* rgb */ color: rgb(220, 151, 218);
/* oklch */ color: oklch(76.6% 0.120 327.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6e5',
    500: '#dc97da',
    950: '#000000',
  },
}
SCSS
$custom: #dc97da;
$custom-light: #e8b6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97da",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 301.739,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76581,
    "c": 0.12005,
    "h": 327.7
  },
  "luminance": 0.42411
}

Semantic roles & 50–950 ramp

primary
#DC97DA
secondary
#DDEEDD
accent
#BD2D29
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161115
muted
#848084

Preview Lab

Preview with #DC97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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