#DC6AFF#DC6AFF

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

Color values

HEX#DC6AFF
RGBrgb(220, 106, 255)
HSLhsl(286, 100%, 71%)
HSVhsv(286, 58%, 100%)
CMYKcmyk(13.7%, 58.4%, 0%, 0%)
CIE-LABlab(63.95, 66.18, -55.34)
CIE-LCHlch(63.95, 86.26, 320.10°)
OKLaboklab(71.75% 0.169 -0.1546)
OKLCHoklch(71.75% 0.229 317.6)
XYZxyz(52.7167, 32.7457, 98.1320)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC6AFF #8DFF6A
analogous
#916AFF #DC6AFF #FF6AD7
triadic
#DC6AFF #FFDC6A #6AFFDC
tetradic
#DC6AFF #FF916A #8DFF6A #6AD7FF
square
#DC6AFF #FF916A #8DFF6A #6AD7FF
split-complementary
#DC6AFF #D7FF6A #6AFF91
monochromatic
#B700EF #CE2DFF #DC6AFF #EAA7FF #F8E0FF

Accessibility & contrast

On white

2.78
#DC6AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#DC6AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC6AFF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC6AFF#FFFFFF#000000##000000
##DC6AFF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4394FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#DB83AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #dc6aff;
/* rgb */ color: rgb(220, 106, 255);
/* oklch */ color: oklch(71.7% 0.229 317.6);
Tailwind
colors: {
  custom: {
    50: '#ea9aff',
    500: '#dc6aff',
    950: '#000000',
  },
}
SCSS
$custom: #dc6aff;
$custom-light: #ea9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc6aff",
  "rgb": {
    "r": 220,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 285.906,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71748,
    "c": 0.22905,
    "h": 317.6
  },
  "luminance": 0.32744
}

Semantic roles & 50–950 ramp

primary
#DC6AFF
secondary
#D8F6CE
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DC6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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