#DB6AFF#DB6AFF

#DB6AFF is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.6% C 0.229 H 317.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#DB6AFF
RGBrgb(219, 106, 255)
HSLhsl(286, 100%, 71%)
HSVhsv(286, 58%, 100%)
CMYKcmyk(14.1%, 58.4%, 0%, 0%)
CIE-LABlab(63.83, 65.94, -55.54)
CIE-LCHlch(63.83, 86.22, 319.89°)
OKLaboklab(71.63% 0.1679 -0.1552)
OKLCHoklch(71.63% 0.229 317.2)
XYZxyz(52.4149, 32.5901, 98.1179)
Luminance0.3259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6AFF #8EFF6A
analogous
#906AFF #DB6AFF #FF6AD9
triadic
#DB6AFF #FFDB6A #6AFFDB
tetradic
#DB6AFF #FF906A #8EFF6A #6AD9FF
square
#DB6AFF #FF906A #8EFF6A #6AD9FF
split-complementary
#DB6AFF #D9FF6A #6AFF90
monochromatic
#B500EF #CC2DFF #DB6AFF #EAA7FF #F8E0FF

Accessibility & contrast

On white

2.79
#DB6AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#DB6AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB6AFF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB6AFF#FFFFFF#000000##000000
##DB6AFF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#DA83AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db6aff;
/* rgb */ color: rgb(219, 106, 255);
/* oklch */ color: oklch(71.6% 0.229 317.2);
Tailwind
colors: {
  custom: {
    50: '#e99aff',
    500: '#db6aff',
    950: '#000000',
  },
}
SCSS
$custom: #db6aff;
$custom-light: #e99aff;
$custom-dark: #000000;
JSON
{
  "hex": "#db6aff",
  "rgb": {
    "r": 219,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 285.503,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71629,
    "c": 0.22862,
    "h": 317.2
  },
  "luminance": 0.32588
}

Semantic roles & 50–950 ramp

primary
#DB6AFF
secondary
#D8F6CE
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #DB6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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