#DC97ED#DC97ED

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

Color values

HEX#DC97ED
RGBrgb(220, 151, 237)
HSLhsl(288, 70%, 76%)
HSVhsv(288, 36%, 93%)
CMYKcmyk(7.2%, 36.3%, 0%, 7.1%)
CIE-LABlab(71.87, 40.08, -33.05)
CIE-LCHlch(71.87, 51.95, 320.49°)
OKLaboklab(77.36% 0.1062 -0.0906)
OKLCHoklch(77.36% 0.14 319.5)
XYZxyz(55.8659, 43.4649, 85.5510)
Luminance0.4346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC97ED #A8ED97
analogous
#B197ED #DC97ED #ED97D3
triadic
#DC97ED #EDDC97 #97EDDC
tetradic
#DC97ED #EDB197 #A8ED97 #97D3ED
square
#DC97ED #EDB197 #A8ED97 #97D3ED
split-complementary
#DC97ED #D3ED97 #97EDB1
monochromatic
#B92FDB #CA63E4 #DC97ED #EECBF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.69
#DC97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC97ED
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC97ED#FFFFFF#000000##000000
##DC97ED1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABF0
Deuteranopia (green-blind)
#9DB3EA
Tritanopia (blue-blind)
#DDA1B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #dc97ed;
/* rgb */ color: rgb(220, 151, 237);
/* oklch */ color: oklch(77.4% 0.140 319.5);
Tailwind
colors: {
  custom: {
    50: '#e8b6f3',
    500: '#dc97ed',
    950: '#000000',
  },
}
SCSS
$custom: #dc97ed;
$custom-light: #e8b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc97ed",
  "rgb": {
    "r": 220,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 288.14,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77358,
    "c": 0.13954,
    "h": 319.5
  },
  "luminance": 0.43463
}

Semantic roles & 50–950 ramp

primary
#DC97ED
secondary
#DEF2D9
accent
#D31339
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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