#DC8CD2#DC8CD2

#DC8CD2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.5% C 0.132 H 331.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#DC8CD2
RGBrgb(220, 140, 210)
HSLhsl(308, 53%, 71%)
HSVhsv(308, 36%, 86%)
CMYKcmyk(0%, 36.4%, 4.5%, 13.7%)
CIE-LABlab(68.48, 40.90, -23.40)
CIE-LCHlch(68.48, 47.12, 330.23°)
OKLaboklab(74.46% 0.1158 -0.0632)
OKLCHoklch(74.46% 0.132 331.4)
XYZxyz(50.5255, 38.6273, 65.7547)
Luminance0.3862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CD2 #8CDC96
analogous
#BE8CDC #DC8CD2 #DC8CAA
triadic
#DC8CD2 #D2DC8C #8CD2DC
tetradic
#DC8CD2 #DCBE8C #8CDC96 #8CAADC
square
#DC8CD2 #DCBE8C #8CDC96 #8CAADC
split-complementary
#DC8CD2 #AADC8C #8CDCBE
monochromatic
#B637A6 #CE5DC0 #DC8CD2 #EABBE4 #F8E8F6

Accessibility & contrast

On white

2.41
#DC8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#DC8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CD2
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CD2#FFFFFF#000000##000000
##DC8CD21.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D5
Deuteranopia (green-blind)
#9EABCF
Tritanopia (blue-blind)
#E291A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc8cd2;
/* rgb */ color: rgb(220, 140, 210);
/* oklch */ color: oklch(74.5% 0.132 331.4);
Tailwind
colors: {
  custom: {
    50: '#e8afe0',
    500: '#dc8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cd2;
$custom-light: #e8afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cd2",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 307.5,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74461,
    "c": 0.13189,
    "h": 331.4
  },
  "luminance": 0.38625
}

Semantic roles & 50–950 ramp

primary
#DC8CD2
secondary
#D7EDDA
accent
#C13825
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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