#DC8CE2#DC8CE2

#DC8CE2 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.1% C 0.147 H 324.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#DC8CE2
RGBrgb(220, 140, 226)
HSLhsl(296, 60%, 72%)
HSVhsv(296, 38%, 89%)
CMYKcmyk(2.7%, 38.1%, 0%, 11.4%)
CIE-LABlab(69.09, 43.80, -31.32)
CIE-LCHlch(69.09, 53.85, 324.44°)
OKLaboklab(75.12% 0.1197 -0.0855)
OKLCHoklch(75.12% 0.147 324.4)
XYZxyz(52.6194, 39.4649, 76.7825)
Luminance0.3946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CE2 #92E28C
analogous
#B18CE2 #DC8CE2 #E28CBD
triadic
#DC8CE2 #E2DC8C #8CE2DC
tetradic
#DC8CE2 #E2B18C #92E28C #8CBDE2
square
#DC8CE2 #E2B18C #92E28C #8CBDE2
split-complementary
#DC8CE2 #BDE28C #8CE2B1
monochromatic
#B831C3 #CD5BD6 #DC8CE2 #EBBDEE #F8E7F9

Accessibility & contrast

On white

2.36
#DC8CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#DC8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CE2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CE2#FFFFFF#000000##000000
##DC8CE21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E5
Deuteranopia (green-blind)
#98ACDF
Tritanopia (blue-blind)
#E095AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dc8ce2;
/* rgb */ color: rgb(220, 140, 226);
/* oklch */ color: oklch(75.1% 0.147 324.4);
Tailwind
colors: {
  custom: {
    50: '#e8afeb',
    500: '#dc8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ce2;
$custom-light: #e8afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ce2",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 295.814,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75118,
    "c": 0.14709,
    "h": 324.4
  },
  "luminance": 0.39463
}

Semantic roles & 50–950 ramp

primary
#DC8CE2
secondary
#DCF0DA
accent
#C71E2A
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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