#DC97E8#DC97E8

#DC97E8 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.1% C 0.134 H 321.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#DC97E8
RGBrgb(220, 151, 232)
HSLhsl(291, 64%, 75%)
HSVhsv(291, 35%, 91%)
CMYKcmyk(5.2%, 34.9%, 0%, 9%)
CIE-LABlab(71.67, 39.12, -30.62)
CIE-LCHlch(71.67, 49.67, 321.95°)
OKLaboklab(77.15% 0.105 -0.0836)
OKLCHoklch(77.15% 0.134 321.5)
XYZxyz(55.1456, 43.1768, 81.7573)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97E8 #A3E897
analogous
#B397E8 #DC97E8 #E897CC
triadic
#DC97E8 #E8DC97 #97E8DC
tetradic
#DC97E8 #E8B397 #A3E897 #97CCE8
square
#DC97E8 #E8B397 #A3E897 #97CCE8
split-complementary
#DC97E8 #CCE897 #97E8B3
monochromatic
#BA33D2 #CB65DD #DC97E8 #EDC9F3 #F7E6F9

Accessibility & contrast

On white

2.18
#DC97E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#DC97E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97E8
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97E8#FFFFFF#000000##000000
##DC97E81.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEB
Deuteranopia (green-blind)
#9FB2E5
Tritanopia (blue-blind)
#DEA0B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc97e8;
/* rgb */ color: rgb(220, 151, 232);
/* oklch */ color: oklch(77.1% 0.134 321.5);
Tailwind
colors: {
  custom: {
    50: '#e8b6ef',
    500: '#dc97e8',
    950: '#000000',
  },
}
SCSS
$custom: #dc97e8;
$custom-light: #e8b6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97e8",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 291.111,
    "s": 63.78,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77147,
    "c": 0.13424,
    "h": 321.5
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

primary
#DC97E8
secondary
#DDF1DA
accent
#CC1A34
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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