#DC8CEE#DC8CEE

#DC8CEE is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.6% C 0.159 H 320.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#DC8CEE
RGBrgb(220, 140, 238)
HSLhsl(289, 74%, 74%)
HSVhsv(289, 41%, 93%)
CMYKcmyk(7.6%, 41.2%, 0%, 6.7%)
CIE-LABlab(69.57, 46.09, -37.16)
CIE-LCHlch(69.57, 59.20, 321.12°)
OKLaboklab(75.64% 0.1221 -0.1022)
OKLCHoklch(75.64% 0.159 320.1)
XYZxyz(54.3240, 40.1467, 85.7598)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CEE #9EEE8C
analogous
#AB8CEE #DC8CEE #EE8CCF
triadic
#DC8CEE #EEDC8C #8CEEDC
tetradic
#DC8CEE #EEAB8C #9EEE8C #8CCFEE
square
#DC8CEE #EEAB8C #9EEE8C #8CCFEE
split-complementary
#DC8CEE #CFEE8C #8CEEAB
monochromatic
#BC21DE #CC57E6 #DC8CEE #ECC1F6 #F7E4FB

Accessibility & contrast

On white

2.33
#DC8CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#DC8CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CEE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CEE#FFFFFF#000000##000000
##DC8CEE1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA4F2
Deuteranopia (green-blind)
#93ADEB
Tritanopia (blue-blind)
#DD98B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #dc8cee;
/* rgb */ color: rgb(220, 140, 238);
/* oklch */ color: oklch(75.6% 0.159 320.1);
Tailwind
colors: {
  custom: {
    50: '#e8aff4',
    500: '#dc8cee',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cee;
$custom-light: #e8aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cee",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 288.98,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75644,
    "c": 0.15926,
    "h": 320.1
  },
  "luminance": 0.40145
}

Semantic roles & 50–950 ramp

primary
#DC8CEE
secondary
#DDF3D8
accent
#D60F34
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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