#DC6AFE#DC6AFE

#DC6AFE is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.7% C 0.228 H 317.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#DC6AFE
RGBrgb(220, 106, 254)
HSLhsl(286, 99%, 71%)
HSVhsv(286, 58%, 100%)
CMYKcmyk(13.4%, 58.3%, 0%, 0.4%)
CIE-LABlab(63.90, 65.99, -54.87)
CIE-LCHlch(63.90, 85.82, 320.26°)
OKLaboklab(71.69% 0.169 -0.1532)
OKLCHoklch(71.69% 0.228 317.8)
XYZxyz(52.5561, 32.6815, 97.2864)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC6AFE #8CFE6A
analogous
#926AFE #DC6AFE #FE6AD6
triadic
#DC6AFE #FEDC6A #6AFEDC
tetradic
#DC6AFE #FE926A #8CFE6A #6AD6FE
square
#DC6AFE #FE926A #8CFE6A #6AD6FE
split-complementary
#DC6AFE #D6FE6A #6AFE92
monochromatic
#B602EC #CE2DFE #DC6AFE #EAA7FE #F8E1FF

Accessibility & contrast

On white

2.79
#DC6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#DC6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC6AFE
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC6AFE#FFFFFF#000000##000000
##DC6AFE1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#DB82AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc6afe;
/* rgb */ color: rgb(220, 106, 254);
/* oklch */ color: oklch(71.7% 0.228 317.8);
Tailwind
colors: {
  custom: {
    50: '#ea9aff',
    500: '#dc6afe',
    950: '#000000',
  },
}
SCSS
$custom: #dc6afe;
$custom-light: #ea9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc6afe",
  "rgb": {
    "r": 220,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 286.216,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71693,
    "c": 0.2281,
    "h": 317.8
  },
  "luminance": 0.32679
}

Semantic roles & 50–950 ramp

primary
#DC6AFE
secondary
#D7F6CE
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DC6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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