#DC6AF7#DC6AF7

#DC6AF7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.3% C 0.222 H 319.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#DC6AF7
RGBrgb(220, 106, 247)
HSLhsl(289, 90%, 69%)
HSVhsv(289, 57%, 97%)
CMYKcmyk(10.9%, 57.1%, 0%, 3.1%)
CIE-LABlab(63.54, 64.65, -51.59)
CIE-LCHlch(63.54, 82.71, 321.41°)
OKLaboklab(71.31% 0.1687 -0.1436)
OKLCHoklch(71.31% 0.222 319.6)
XYZxyz(51.4556, 32.2413, 91.4904)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC6AF7 #85F76A
analogous
#966AF7 #DC6AF7 #F76ACB
triadic
#DC6AF7 #F7DC6A #6AF7DC
tetradic
#DC6AF7 #F7966A #85F76A #6ACBF7
square
#DC6AF7 #F7966A #85F76A #6ACBF7
split-complementary
#DC6AF7 #CBF76A #6AF796
monochromatic
#B30CDB #CE30F4 #DC6AF7 #EAA4FA #F7DEFD

Accessibility & contrast

On white

2.82
#DC6AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#DC6AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC6AF7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC6AF7#FFFFFF#000000##000000
##DC6AF71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#DD80A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #dc6af7;
/* rgb */ color: rgb(220, 106, 247);
/* oklch */ color: oklch(71.3% 0.222 319.6);
Tailwind
colors: {
  custom: {
    50: '#ea9afa',
    500: '#dc6af7',
    950: '#000000',
  },
}
SCSS
$custom: #dc6af7;
$custom-light: #ea9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc6af7",
  "rgb": {
    "r": 220,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 288.511,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71313,
    "c": 0.22155,
    "h": 319.6
  },
  "luminance": 0.32239
}

Semantic roles & 50–950 ramp

primary
#DC6AF7
secondary
#D2F3CA
accent
#E6002C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #DC6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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