#DB6AFE#DB6AFE

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

Color values

HEX#DB6AFE
RGBrgb(219, 106, 254)
HSLhsl(286, 99%, 71%)
HSVhsv(286, 58%, 100%)
CMYKcmyk(13.8%, 58.3%, 0%, 0.4%)
CIE-LABlab(63.78, 65.75, -55.08)
CIE-LCHlch(63.78, 85.77, 320.05°)
OKLaboklab(71.57% 0.1679 -0.1538)
OKLCHoklch(71.57% 0.228 317.5)
XYZxyz(52.2543, 32.5259, 97.2723)
Luminance0.3252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6AFE #8DFE6A
analogous
#916AFE #DB6AFE #FE6AD7
triadic
#DB6AFE #FEDB6A #6AFEDB
tetradic
#DB6AFE #FE916A #8DFE6A #6AD7FE
square
#DB6AFE #FE916A #8DFE6A #6AD7FE
split-complementary
#DB6AFE #D7FE6A #6AFE91
monochromatic
#B502EC #CC2DFE #DB6AFE #EAA7FE #F8E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB6AFE#FFFFFF#000000##000000
##DB6AFE1.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)
#4393FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#DA82AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #db6afe;
/* rgb */ color: rgb(219, 106, 254);
/* oklch */ color: oklch(71.6% 0.228 317.5);
Tailwind
colors: {
  custom: {
    50: '#e99aff',
    500: '#db6afe',
    950: '#000000',
  },
}
SCSS
$custom: #db6afe;
$custom-light: #e99aff;
$custom-dark: #000000;
JSON
{
  "hex": "#db6afe",
  "rgb": {
    "r": 219,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 285.811,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71574,
    "c": 0.22768,
    "h": 317.5
  },
  "luminance": 0.32524
}

Semantic roles & 50–950 ramp

primary
#DB6AFE
secondary
#D7F6CE
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #DB6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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