#DC97EA#DC97EA

#DC97EA is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.2% C 0.136 H 320.7°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#DC97EA
RGBrgb(220, 151, 234)
HSLhsl(290, 66%, 75%)
HSVhsv(290, 35%, 92%)
CMYKcmyk(6%, 35.5%, 0%, 8.2%)
CIE-LABlab(71.75, 39.50, -31.59)
CIE-LCHlch(71.75, 50.58, 321.35°)
OKLaboklab(77.23% 0.1055 -0.0864)
OKLCHoklch(77.23% 0.136 320.7)
XYZxyz(55.4312, 43.2911, 83.2620)
Luminance0.4329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97EA #A5EA97
analogous
#B397EA #DC97EA #EA97CE
triadic
#DC97EA #EADC97 #97EADC
tetradic
#DC97EA #EAB397 #A5EA97 #97CEEA
square
#DC97EA #EAB397 #A5EA97 #97CEEA
split-complementary
#DC97EA #CEEA97 #97EAB3
monochromatic
#BA31D5 #CB64E0 #DC97EA #EDCAF4 #F6E6FA

Accessibility & contrast

On white

2.17
#DC97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#DC97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97EA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97EA#FFFFFF#000000##000000
##DC97EA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#DEA0B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc97ea;
/* rgb */ color: rgb(220, 151, 234);
/* oklch */ color: oklch(77.2% 0.136 320.7);
Tailwind
colors: {
  custom: {
    50: '#e8b6f1',
    500: '#dc97ea',
    950: '#000000',
  },
}
SCSS
$custom: #dc97ea;
$custom-light: #e8b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97ea",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 289.88,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77231,
    "c": 0.13635,
    "h": 320.7
  },
  "luminance": 0.43289
}

Semantic roles & 50–950 ramp

primary
#DC97EA
secondary
#DEF1DA
accent
#CE1736
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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