#DC97EE#DC97EE

#DC97EE is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.4% C 0.141 H 319.2°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#DC97EE
RGBrgb(220, 151, 238)
HSLhsl(288, 72%, 76%)
HSVhsv(288, 37%, 93%)
CMYKcmyk(7.6%, 36.6%, 0%, 6.7%)
CIE-LABlab(71.91, 40.28, -33.54)
CIE-LCHlch(71.91, 52.41, 320.22°)
OKLaboklab(77.4% 0.1064 -0.0919)
OKLCHoklch(77.4% 0.141 319.2)
XYZxyz(56.0124, 43.5235, 86.3226)
Luminance0.4352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97EE #A9EE97
analogous
#B197EE #DC97EE #EE97D5
triadic
#DC97EE #EEDC97 #97EEDC
tetradic
#DC97EE #EEB197 #A9EE97 #97D5EE
square
#DC97EE #EEB197 #A9EE97 #97D5EE
split-complementary
#DC97EE #D5EE97 #97EEB1
monochromatic
#B92EDD #CA62E5 #DC97EE #EECCF7 #F6E5FB

Accessibility & contrast

On white

2.16
#DC97EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#DC97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97EE
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97EE#FFFFFF#000000##000000
##DC97EE1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF1
Deuteranopia (green-blind)
#9CB3EB
Tritanopia (blue-blind)
#DDA1B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc97ee;
/* rgb */ color: rgb(220, 151, 238);
/* oklch */ color: oklch(77.4% 0.141 319.2);
Tailwind
colors: {
  custom: {
    50: '#e8b6f3',
    500: '#dc97ee',
    950: '#000000',
  },
}
SCSS
$custom: #dc97ee;
$custom-light: #e8b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97ee",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 287.586,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77401,
    "c": 0.1406,
    "h": 319.2
  },
  "luminance": 0.43522
}

Semantic roles & 50–950 ramp

primary
#DC97EE
secondary
#DEF2D9
accent
#D4123A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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