#DC97DE#DC97DE

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

Color values

HEX#DC97DE
RGBrgb(220, 151, 222)
HSLhsl(298, 52%, 73%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(0.9%, 32%, 0%, 12.9%)
CIE-LABlab(71.30, 37.22, -25.71)
CIE-LCHlch(71.30, 45.24, 325.37°)
OKLaboklab(76.74% 0.1025 -0.0698)
OKLCHoklch(76.74% 0.124 325.7)
XYZxyz(53.7654, 42.6247, 74.4883)
Luminance0.4262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97DE #99DE97
analogous
#B897DE #DC97DE #DE97BC
triadic
#DC97DE #DEDC97 #97DEDC
tetradic
#DC97DE #DEB897 #99DE97 #97BCDE
square
#DC97DE #DEB897 #99DE97 #97BCDE
split-complementary
#DC97DE #BCDE97 #97DEB8
monochromatic
#BB3CBE #CC69CF #DC97DE #ECC5ED #F7E8F8

Accessibility & contrast

On white

2.20
#DC97DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#DC97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97DE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97DE#FFFFFF#000000##000000
##DC97DE1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E1
Deuteranopia (green-blind)
#A2B2DC
Tritanopia (blue-blind)
#E09EB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc97de;
/* rgb */ color: rgb(220, 151, 222);
/* oklch */ color: oklch(76.7% 0.124 325.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6e8',
    500: '#dc97de',
    950: '#000000',
  },
}
SCSS
$custom: #dc97de;
$custom-light: #e8b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97de",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 298.31,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76739,
    "c": 0.12399,
    "h": 325.7
  },
  "luminance": 0.42623
}

Semantic roles & 50–950 ramp

primary
#DC97DE
secondary
#DDEFDC
accent
#BF262B
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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