#DC8DEF#DC8DEF

#DC8DEF is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.8% C 0.159 H 319.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#DC8DEF
RGBrgb(220, 141, 239)
HSLhsl(288, 75%, 75%)
HSVhsv(288, 41%, 94%)
CMYKcmyk(7.9%, 41%, 0%, 6.3%)
CIE-LABlab(69.82, 45.76, -37.32)
CIE-LCHlch(69.82, 59.05, 320.80°)
OKLaboklab(75.85% 0.1209 -0.1027)
OKLCHoklch(75.85% 0.159 319.7)
XYZxyz(54.6181, 40.4992, 86.5846)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DEF #A0EF8D
analogous
#AB8DEF #DC8DEF #EF8DD1
triadic
#DC8DEF #EFDC8D #8DEFDC
tetradic
#DC8DEF #EFAB8D #A0EF8D #8DD1EF
square
#DC8DEF #EFAB8D #A0EF8D #8DD1EF
split-complementary
#DC8DEF #D1EF8D #8DEFAB
monochromatic
#BB22E0 #CC57E7 #DC8DEF #ECC3F7 #F7E4FB

Accessibility & contrast

On white

2.31
#DC8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#DC8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DEF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DEF#FFFFFF#000000##000000
##DC8DEF1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#94ADEC
Tritanopia (blue-blind)
#DD99B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8def;
/* rgb */ color: rgb(220, 141, 239);
/* oklch */ color: oklch(75.8% 0.159 319.7);
Tailwind
colors: {
  custom: {
    50: '#e8b0f4',
    500: '#dc8def',
    950: '#000000',
  },
}
SCSS
$custom: #dc8def;
$custom-light: #e8b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8def",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 288.367,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75845,
    "c": 0.15863,
    "h": 319.7
  },
  "luminance": 0.40497
}

Semantic roles & 50–950 ramp

primary
#DC8DEF
secondary
#DDF3D8
accent
#D80E35
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #DC8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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