#DC97EB#DC97EB

#DC97EB is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.3% C 0.137 H 320.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#DC97EB
RGBrgb(220, 151, 235)
HSLhsl(289, 68%, 76%)
HSVhsv(289, 36%, 92%)
CMYKcmyk(6.4%, 35.7%, 0%, 7.8%)
CIE-LABlab(71.79, 39.69, -32.08)
CIE-LCHlch(71.79, 51.04, 321.06°)
OKLaboklab(77.27% 0.1057 -0.0878)
OKLCHoklch(77.27% 0.137 320.3)
XYZxyz(55.5753, 43.3487, 84.0207)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97EB #A6EB97
analogous
#B297EB #DC97EB #EB97D0
triadic
#DC97EB #EBDC97 #97EBDC
tetradic
#DC97EB #EBB297 #A6EB97 #97D0EB
square
#DC97EB #EBB297 #A6EB97 #97D0EB
split-complementary
#DC97EB #D0EB97 #97EBB2
monochromatic
#B930D7 #CB64E1 #DC97EB #EDCAF5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.67
#DC97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97EB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97EB#FFFFFF#000000##000000
##DC97EB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#9EB2E8
Tritanopia (blue-blind)
#DDA1B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc97eb;
/* rgb */ color: rgb(220, 151, 235);
/* oklch */ color: oklch(77.3% 0.137 320.3);
Tailwind
colors: {
  custom: {
    50: '#e8b6f1',
    500: '#dc97eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc97eb;
$custom-light: #e8b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97eb",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 289.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77273,
    "c": 0.13741,
    "h": 320.3
  },
  "luminance": 0.43347
}

Semantic roles & 50–950 ramp

primary
#DC97EB
secondary
#DEF2D9
accent
#D01637
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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