#DC97D2#DC97D2

#DC97D2 is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.3% C 0.113 H 331.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#DC97D2
RGBrgb(220, 151, 210)
HSLhsl(309, 50%, 73%)
HSVhsv(309, 31%, 86%)
CMYKcmyk(0%, 31.4%, 4.5%, 13.7%)
CIE-LABlab(70.87, 35.04, -19.75)
CIE-LCHlch(70.87, 40.23, 330.59°)
OKLaboklab(76.28% 0.0992 -0.0531)
OKLCHoklch(76.28% 0.113 331.8)
XYZxyz(52.2139, 42.0041, 66.3175)
Luminance0.4200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97D2 #97DCA1
analogous
#C497DC #DC97D2 #DC97AF
triadic
#DC97D2 #D2DC97 #97D2DC
tetradic
#DC97D2 #DCC497 #97DCA1 #97AFDC
square
#DC97D2 #DCC497 #97DCA1 #97AFDC
split-complementary
#DC97D2 #AFDC97 #97DCC4
monochromatic
#BA3FA8 #CD69BE #DC97D2 #EBC5E6 #F7E8F5

Accessibility & contrast

On white

2.23
#DC97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DC97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97D2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97D2#FFFFFF#000000##000000
##DC97D21.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A8D4
Deuteranopia (green-blind)
#A6B1D0
Tritanopia (blue-blind)
#E29BAC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc97d2;
/* rgb */ color: rgb(220, 151, 210);
/* oklch */ color: oklch(76.3% 0.113 331.8);
Tailwind
colors: {
  custom: {
    50: '#e8b6e0',
    500: '#dc97d2',
    950: '#000000',
  },
}
SCSS
$custom: #dc97d2;
$custom-light: #e8b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97d2",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 308.696,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.1125,
    "h": 331.8
  },
  "luminance": 0.42002
}

Semantic roles & 50–950 ramp

primary
#DC97D2
secondary
#DDEEDF
accent
#BD3E29
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DC97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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