#DC6AFB#DC6AFB

#DC6AFB is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.5% C 0.225 H 318.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#DC6AFB
RGBrgb(220, 106, 251)
HSLhsl(287, 95%, 70%)
HSVhsv(287, 58%, 98%)
CMYKcmyk(12.4%, 57.8%, 0%, 1.6%)
CIE-LABlab(63.75, 65.41, -53.47)
CIE-LCHlch(63.75, 84.48, 320.74°)
OKLaboklab(71.53% 0.1689 -0.1491)
OKLCHoklch(71.53% 0.225 318.6)
XYZxyz(52.0795, 32.4909, 94.7761)
Luminance0.3249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC6AFB #89FB6A
analogous
#936AFB #DC6AFB #FB6AD2
triadic
#DC6AFB #FBDC6A #6AFBDC
tetradic
#DC6AFB #FB936A #89FB6A #6AD2FB
square
#DC6AFB #FB936A #89FB6A #6AD2FB
split-complementary
#DC6AFB #D2FB6A #6AFB93
monochromatic
#B506E4 #CE2EF9 #DC6AFB #EAA6FD #F8E1FE

Accessibility & contrast

On white

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

On black

7.50
#DC6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC6AFB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC6AFB#FFFFFF#000000##000000
##DC6AFB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#DC81A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc6afb;
/* rgb */ color: rgb(220, 106, 251);
/* oklch */ color: oklch(71.5% 0.225 318.6);
Tailwind
colors: {
  custom: {
    50: '#ea9afd',
    500: '#dc6afb',
    950: '#000000',
  },
}
SCSS
$custom: #dc6afb;
$custom-light: #ea9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc6afb",
  "rgb": {
    "r": 220,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 287.172,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.22529,
    "h": 318.6
  },
  "luminance": 0.32489
}

Semantic roles & 50–950 ramp

primary
#DC6AFB
secondary
#D5F5CC
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DC6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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