#DC97DC#DC97DC

#DC97DC is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.7% C 0.122 H 326.7°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#DC97DC
RGBrgb(220, 151, 220)
HSLhsl(300, 50%, 73%)
HSVhsv(300, 31%, 86%)
CMYKcmyk(0%, 31.4%, 0%, 13.7%)
CIE-LABlab(71.23, 36.85, -24.72)
CIE-LCHlch(71.23, 44.38, 326.15°)
OKLaboklab(76.66% 0.102 -0.067)
OKLCHoklch(76.66% 0.122 326.7)
XYZxyz(53.4989, 42.5181, 73.0850)
Luminance0.4252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97DC #97DC97
analogous
#B997DC #DC97DC #DC97B9
triadic
#DC97DC #DCDC97 #97DCDC
tetradic
#DC97DC #DCB997 #97DC97 #97B9DC
square
#DC97DC #DCB997 #97DC97 #97B9DC
split-complementary
#DC97DC #B9DC97 #97DCB9
monochromatic
#BA3FBA #CD69CD #DC97DC #EBC5EB #F7E8F7

Accessibility & contrast

On white

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

On black

9.50
#DC97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97DC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97DC#FFFFFF#000000##000000
##DC97DC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9DF
Deuteranopia (green-blind)
#A3B2DA
Tritanopia (blue-blind)
#E09DB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #dc97dc;
/* rgb */ color: rgb(220, 151, 220);
/* oklch */ color: oklch(76.7% 0.122 326.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6e7',
    500: '#dc97dc',
    950: '#000000',
  },
}
SCSS
$custom: #dc97dc;
$custom-light: #e8b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97dc",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 300,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7666,
    "c": 0.122,
    "h": 326.7
  },
  "luminance": 0.42516
}

Semantic roles & 50–950 ramp

primary
#DC97DC
secondary
#DDEEDD
accent
#BD2929
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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