#DC8AFE#DC8AFE

#DC8AFE is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.1% C 0.179 H 315.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#DC8AFE
RGBrgb(220, 138, 254)
HSLhsl(282, 98%, 77%)
HSVhsv(282, 46%, 100%)
CMYKcmyk(13.4%, 45.7%, 0%, 0.4%)
CIE-LABlab(69.86, 50.30, -45.46)
CIE-LCHlch(69.86, 67.80, 317.90°)
OKLaboklab(76.09% 0.1276 -0.1261)
OKLCHoklch(76.09% 0.179 315.4)
XYZxyz(56.4903, 40.5499, 98.5978)
Luminance0.4055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8AFE #ACFE8A
analogous
#A28AFE #DC8AFE #FE8AE6
triadic
#DC8AFE #FEDC8A #8AFEDC
tetradic
#DC8AFE #FEA28A #ACFE8A #8AE6FE
square
#DC8AFE #FEA28A #ACFE8A #8AE6FE
split-complementary
#DC8AFE #E6FE8A #8AFEA2
monochromatic
#B811FD #CA4DFD #DC8AFE #EEC7FF #F6E1FF

Accessibility & contrast

On white

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

On black

9.11
#DC8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8AFE
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8AFE#FFFFFF#000000##000000
##DC8AFE1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#DA9BB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8afe;
/* rgb */ color: rgb(220, 138, 254);
/* oklch */ color: oklch(76.1% 0.179 315.4);
Tailwind
colors: {
  custom: {
    50: '#e9aeff',
    500: '#dc8afe',
    950: '#000000',
  },
}
SCSS
$custom: #dc8afe;
$custom-light: #e9aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8afe",
  "rgb": {
    "r": 220,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 282.414,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.1794,
    "h": 315.4
  },
  "luminance": 0.40548
}

Semantic roles & 50–950 ramp

primary
#DC8AFE
secondary
#DEF7D4
accent
#E60043
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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