#DC8EDD#DC8EDD

#DC8EDD is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.2% C 0.139 H 326.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#DC8EDD
RGBrgb(220, 142, 221)
HSLhsl(299, 54%, 71%)
HSVhsv(299, 36%, 87%)
CMYKcmyk(0.5%, 35.7%, 0%, 13.3%)
CIE-LABlab(69.32, 41.82, -28.21)
CIE-LCHlch(69.32, 50.44, 326.00°)
OKLaboklab(75.23% 0.1156 -0.0767)
OKLCHoklch(75.23% 0.139 326.4)
XYZxyz(52.2382, 39.7842, 73.3201)
Luminance0.3978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EDD #8FDD8E
analogous
#B48EDD #DC8EDD #DD8EB6
triadic
#DC8EDD #DDDC8E #8EDDDC
tetradic
#DC8EDD #DDB48E #8FDD8E #8EB6DD
square
#DC8EDD #DDB48E #8FDD8E #8EB6DD
split-complementary
#DC8EDD #B6DD8E #8EDDB4
monochromatic
#B738B9 #CD5FCF #DC8EDD #EBBDEB #F8E7F8

Accessibility & contrast

On white

2.34
#DC8EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#DC8EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EDD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EDD#FFFFFF#000000##000000
##DC8EDD1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3E0
Deuteranopia (green-blind)
#9CADDA
Tritanopia (blue-blind)
#E095AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dc8edd;
/* rgb */ color: rgb(220, 142, 221);
/* oklch */ color: oklch(75.2% 0.139 326.4);
Tailwind
colors: {
  custom: {
    50: '#e8b0e7',
    500: '#dc8edd',
    950: '#000000',
  },
}
SCSS
$custom: #dc8edd;
$custom-light: #e8b0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8edd",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 299.241,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75227,
    "c": 0.13873,
    "h": 326.4
  },
  "luminance": 0.39782
}

Semantic roles & 50–950 ramp

primary
#DC8EDD
secondary
#D9EED9
accent
#C12426
background
#FEFAFE
surface
#FDF5FC
border
#D5CFD5
text
#161116
muted
#848084

Preview Lab

Preview with #DC8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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