#DC97DD#DC97DD

#DC97DD is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.7% C 0.123 H 326.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#DC97DD
RGBrgb(220, 151, 221)
HSLhsl(299, 51%, 73%)
HSVhsv(299, 32%, 87%)
CMYKcmyk(0.5%, 31.7%, 0%, 13.3%)
CIE-LABlab(71.26, 37.04, -25.22)
CIE-LCHlch(71.26, 44.81, 325.75°)
OKLaboklab(76.7% 0.1022 -0.0684)
OKLCHoklch(76.7% 0.123 326.2)
XYZxyz(53.6317, 42.5712, 73.7846)
Luminance0.4257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97DD #98DD97
analogous
#B997DD #DC97DD #DD97BB
triadic
#DC97DD #DDDC97 #97DDDC
tetradic
#DC97DD #DDB997 #98DD97 #97BBDD
square
#DC97DD #DDB997 #98DD97 #97BBDD
split-complementary
#DC97DD #BBDD97 #97DDB9
monochromatic
#BA3DBC #CC69CE #DC97DD #ECC5EC #F7E8F7

Accessibility & contrast

On white

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

On black

9.51
#DC97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97DD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97DD#FFFFFF#000000##000000
##DC97DD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dc97dd;
/* rgb */ color: rgb(220, 151, 221);
/* oklch */ color: oklch(76.7% 0.123 326.2);
Tailwind
colors: {
  custom: {
    50: '#e8b6e7',
    500: '#dc97dd',
    950: '#000000',
  },
}
SCSS
$custom: #dc97dd;
$custom-light: #e8b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97dd",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 299.143,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76699,
    "c": 0.12299,
    "h": 326.2
  },
  "luminance": 0.42569
}

Semantic roles & 50–950 ramp

primary
#DC97DD
secondary
#DDEFDC
accent
#BE272A
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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