#DC8AF2#DC8AF2

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

Color values

HEX#DC8AF2
RGBrgb(220, 138, 242)
HSLhsl(287, 80%, 75%)
HSVhsv(287, 43%, 95%)
CMYKcmyk(9.1%, 43%, 0%, 5.1%)
CIE-LABlab(69.33, 47.91, -39.73)
CIE-LCHlch(69.33, 62.24, 320.33°)
OKLaboklab(75.52% 0.1257 -0.1096)
OKLCHoklch(75.52% 0.167 318.9)
XYZxyz(54.6286, 39.8052, 88.7927)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8AF2 #A0F28A
analogous
#A88AF2 #DC8AF2 #F28AD4
triadic
#DC8AF2 #F2DC8A #8AF2DC
tetradic
#DC8AF2 #F2A88A #A0F28A #8AD4F2
square
#DC8AF2 #F2A88A #A0F28A #8AD4F2
split-complementary
#DC8AF2 #D4F28A #8AF2A8
monochromatic
#BB1CE6 #CC53EC #DC8AF2 #ECC1F8 #F7E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC8AF2#FFFFFF#000000##000000
##DC8AF21.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)
#7AA4F6
Deuteranopia (green-blind)
#90ACEF
Tritanopia (blue-blind)
#DD97B3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dc8af2;
/* rgb */ color: rgb(220, 138, 242);
/* oklch */ color: oklch(75.5% 0.167 318.9);
Tailwind
colors: {
  custom: {
    50: '#e8aef6',
    500: '#dc8af2',
    950: '#000000',
  },
}
SCSS
$custom: #dc8af2;
$custom-light: #e8aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8af2",
  "rgb": {
    "r": 220,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 287.308,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.16675,
    "h": 318.9
  },
  "luminance": 0.39803
}

Semantic roles & 50–950 ramp

primary
#DC8AF2
secondary
#DDF4D7
accent
#DC0936
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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