#DC8AEF#DC8AEF

#DC8AEF is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.4% C 0.164 H 319.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#DC8AEF
RGBrgb(220, 138, 239)
HSLhsl(289, 76%, 74%)
HSVhsv(289, 42%, 94%)
CMYKcmyk(7.9%, 42.3%, 0%, 6.3%)
CIE-LABlab(69.20, 47.33, -38.29)
CIE-LCHlch(69.20, 60.88, 321.03°)
OKLaboklab(75.38% 0.1252 -0.1054)
OKLCHoklch(75.38% 0.164 319.9)
XYZxyz(54.1817, 39.6264, 86.4392)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8AEF #9DEF8A
analogous
#AA8AEF #DC8AEF #EF8AD0
triadic
#DC8AEF #EFDC8A #8AEFDC
tetradic
#DC8AEF #EFAA8A #9DEF8A #8AD0EF
square
#DC8AEF #EFAA8A #9DEF8A #8AD0EF
split-complementary
#DC8AEF #D0EF8A #8AEFAA
monochromatic
#BC1FE0 #CC54E8 #DC8AEF #ECC0F6 #F7E4FB

Accessibility & contrast

On white

2.35
#DC8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#DC8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8AEF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8AEF#FFFFFF#000000##000000
##DC8AEF1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#DD97B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dc8aef;
/* rgb */ color: rgb(220, 138, 239);
/* oklch */ color: oklch(75.4% 0.164 319.9);
Tailwind
colors: {
  custom: {
    50: '#e8aef4',
    500: '#dc8aef',
    950: '#000000',
  },
}
SCSS
$custom: #dc8aef;
$custom-light: #e8aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8aef",
  "rgb": {
    "r": 220,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 288.713,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7538,
    "c": 0.16364,
    "h": 319.9
  },
  "luminance": 0.39625
}

Semantic roles & 50–950 ramp

primary
#DC8AEF
secondary
#DDF3D8
accent
#D80D34
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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