#DC8CD5#DC8CD5

#DC8CD5 is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.6% C 0.135 H 330.0°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#DC8CD5
RGBrgb(220, 140, 213)
HSLhsl(305, 53%, 71%)
HSVhsv(305, 36%, 86%)
CMYKcmyk(0%, 36.4%, 3.2%, 13.7%)
CIE-LABlab(68.59, 41.43, -24.89)
CIE-LCHlch(68.59, 48.33, 329.00°)
OKLaboklab(74.58% 0.1165 -0.0674)
OKLCHoklch(74.58% 0.135 330)
XYZxyz(50.9028, 38.7782, 67.7416)
Luminance0.3878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CD5 #8CDC93
analogous
#BB8CDC #DC8CD5 #DC8CAD
triadic
#DC8CD5 #D5DC8C #8CD5DC
tetradic
#DC8CD5 #DCBB8C #8CDC93 #8CADDC
square
#DC8CD5 #DCBB8C #8CDC93 #8CADDC
split-complementary
#DC8CD5 #ADDC8C #8CDCBB
monochromatic
#B637AB #CE5DC4 #DC8CD5 #EABBE6 #F8E8F6

Accessibility & contrast

On white

2.40
#DC8CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#DC8CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CD5
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CD5#FFFFFF#000000##000000
##DC8CD51.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A1D8
Deuteranopia (green-blind)
#9DABD2
Tritanopia (blue-blind)
#E292A7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc8cd5;
/* rgb */ color: rgb(220, 140, 213);
/* oklch */ color: oklch(74.6% 0.135 330.0);
Tailwind
colors: {
  custom: {
    50: '#e8afe2',
    500: '#dc8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cd5;
$custom-light: #e8afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cd5",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 305.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74581,
    "c": 0.13462,
    "h": 330
  },
  "luminance": 0.38776
}

Semantic roles & 50–950 ramp

primary
#DC8CD5
secondary
#D7EDD9
accent
#C13225
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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