#DC8DEC#DC8DEC

#DC8DEC is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.7% C 0.156 H 320.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#DC8DEC
RGBrgb(220, 141, 236)
HSLhsl(290, 71%, 74%)
HSVhsv(290, 40%, 93%)
CMYKcmyk(6.8%, 40.3%, 0%, 7.5%)
CIE-LABlab(69.70, 45.18, -35.87)
CIE-LCHlch(69.70, 57.69, 321.55°)
OKLaboklab(75.71% 0.1203 -0.0985)
OKLCHoklch(75.71% 0.156 320.7)
XYZxyz(54.1786, 40.3234, 84.2699)
Luminance0.4032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DEC #9DEC8D
analogous
#AD8DEC #DC8DEC #EC8DCD
triadic
#DC8DEC #ECDC8D #8DECDC
tetradic
#DC8DEC #ECAD8D #9DEC8D #8DCDEC
square
#DC8DEC #ECAD8D #9DEC8D #8DCDEC
split-complementary
#DC8DEC #CDEC8D #8DECAD
monochromatic
#BC24DA #CC59E3 #DC8DEC #ECC1F5 #F7E5FB

Accessibility & contrast

On white

2.32
#DC8DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#DC8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DEC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DEC#FFFFFF#000000##000000
##DC8DEC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5EF
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#DE98B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #dc8dec;
/* rgb */ color: rgb(220, 141, 236);
/* oklch */ color: oklch(75.7% 0.156 320.7);
Tailwind
colors: {
  custom: {
    50: '#e8b0f2',
    500: '#dc8dec',
    950: '#000000',
  },
}
SCSS
$custom: #dc8dec;
$custom-light: #e8b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8dec",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 289.895,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75711,
    "c": 0.15551,
    "h": 320.7
  },
  "luminance": 0.40322
}

Semantic roles & 50–950 ramp

primary
#DC8DEC
secondary
#DDF2D9
accent
#D31233
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #DC8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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