#DB6AFC#DB6AFC

#DB6AFC is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.5% C 0.226 H 318.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#DB6AFC
RGBrgb(219, 106, 252)
HSLhsl(286, 96%, 70%)
HSVhsv(286, 58%, 99%)
CMYKcmyk(13.1%, 57.9%, 0%, 1.2%)
CIE-LABlab(63.67, 65.36, -54.14)
CIE-LCHlch(63.67, 84.87, 320.36°)
OKLaboklab(71.46% 0.1678 -0.1511)
OKLCHoklch(71.46% 0.226 318)
XYZxyz(51.9357, 32.3985, 95.5944)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6AFC #8BFC6A
analogous
#926AFC #DB6AFC #FC6AD4
triadic
#DB6AFC #FCDB6A #6AFCDB
tetradic
#DB6AFC #FC926A #8BFC6A #6AD4FC
square
#DB6AFC #FC926A #8BFC6A #6AD4FC
split-complementary
#DB6AFC #D4FC6A #6AFC92
monochromatic
#B405E7 #CD2EFB #DB6AFC #E9A6FD #F8E1FE

Accessibility & contrast

On white

2.81
#DB6AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#DB6AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB6AFC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB6AFC#FFFFFF#000000##000000
##DB6AFC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#DA82A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #db6afc;
/* rgb */ color: rgb(219, 106, 252);
/* oklch */ color: oklch(71.5% 0.226 318.0);
Tailwind
colors: {
  custom: {
    50: '#e99afe',
    500: '#db6afc',
    950: '#000000',
  },
}
SCSS
$custom: #db6afc;
$custom-light: #e99afe;
$custom-dark: #000000;
JSON
{
  "hex": "#db6afc",
  "rgb": {
    "r": 219,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 286.438,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71464,
    "c": 0.22579,
    "h": 318
  },
  "luminance": 0.32396
}

Semantic roles & 50–950 ramp

primary
#DB6AFC
secondary
#D6F5CD
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #DB6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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