#DC6AFC#DC6AFC

#DC6AFC is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.6% C 0.226 H 318.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#DC6AFC
RGBrgb(220, 106, 252)
HSLhsl(287, 96%, 70%)
HSVhsv(287, 58%, 99%)
CMYKcmyk(12.7%, 57.9%, 0%, 1.2%)
CIE-LABlab(63.80, 65.60, -53.93)
CIE-LCHlch(63.80, 84.93, 320.57°)
OKLaboklab(71.58% 0.1689 -0.1505)
OKLCHoklch(71.58% 0.226 318.3)
XYZxyz(52.2375, 32.5541, 95.6085)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC6AFC #8AFC6A
analogous
#936AFC #DC6AFC #FC6AD3
triadic
#DC6AFC #FCDC6A #6AFCDC
tetradic
#DC6AFC #FC936A #8AFC6A #6AD3FC
square
#DC6AFC #FC936A #8AFC6A #6AD3FC
split-complementary
#DC6AFC #D3FC6A #6AFC93
monochromatic
#B505E7 #CE2EFB #DC6AFC #EAA6FD #F8E1FE

Accessibility & contrast

On white

2.80
#DC6AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#DC6AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC6AFC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC6AFC#FFFFFF#000000##000000
##DC6AFC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#DC82A9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc6afc;
/* rgb */ color: rgb(220, 106, 252);
/* oklch */ color: oklch(71.6% 0.226 318.3);
Tailwind
colors: {
  custom: {
    50: '#ea9afe',
    500: '#dc6afc',
    950: '#000000',
  },
}
SCSS
$custom: #dc6afc;
$custom-light: #ea9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc6afc",
  "rgb": {
    "r": 220,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 286.849,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.22623,
    "h": 318.3
  },
  "luminance": 0.32552
}

Semantic roles & 50–950 ramp

primary
#DC6AFC
secondary
#D6F5CD
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DC6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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