#DC8CD9#DC8CD9

#DC8CD9 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.7% C 0.138 H 328.2°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#DC8CD9
RGBrgb(220, 140, 217)
HSLhsl(302, 53%, 71%)
HSVhsv(302, 36%, 86%)
CMYKcmyk(0%, 36.4%, 1.4%, 13.7%)
CIE-LABlab(68.74, 42.15, -26.88)
CIE-LCHlch(68.74, 49.99, 327.47°)
OKLaboklab(74.74% 0.1175 -0.073)
OKLCHoklch(74.74% 0.138 328.2)
XYZxyz(51.4167, 38.9838, 70.4485)
Luminance0.3898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CD9 #8CDC8F
analogous
#B78CDC #DC8CD9 #DC8CB1
triadic
#DC8CD9 #D9DC8C #8CD9DC
tetradic
#DC8CD9 #DCB78C #8CDC8F #8CB1DC
square
#DC8CD9 #DCB78C #8CDC8F #8CB1DC
split-complementary
#DC8CD9 #B1DC8C #8CDCB7
monochromatic
#B637B1 #CE5DC9 #DC8CD9 #EABBE9 #F8E8F7

Accessibility & contrast

On white

2.39
#DC8CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#DC8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CD9
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CD9#FFFFFF#000000##000000
##DC8CD91.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A1DC
Deuteranopia (green-blind)
#9CABD6
Tritanopia (blue-blind)
#E193A9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dc8cd9;
/* rgb */ color: rgb(220, 140, 217);
/* oklch */ color: oklch(74.7% 0.138 328.2);
Tailwind
colors: {
  custom: {
    50: '#e8afe5',
    500: '#dc8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cd9;
$custom-light: #e8afe5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cd9",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 302.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74742,
    "c": 0.13836,
    "h": 328.2
  },
  "luminance": 0.38982
}

Semantic roles & 50–950 ramp

primary
#DC8CD9
secondary
#D7EDD8
accent
#C12B25
background
#FEFAFE
surface
#FDF5FC
border
#D5CFD5
text
#161015
muted
#847F84

Preview Lab

Preview with #DC8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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