#DB6AFB#DB6AFB

#DB6AFB is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.4% C 0.225 H 318.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#DB6AFB
RGBrgb(219, 106, 251)
HSLhsl(287, 95%, 70%)
HSVhsv(287, 58%, 98%)
CMYKcmyk(12.7%, 57.8%, 0%, 1.6%)
CIE-LABlab(63.62, 65.17, -53.68)
CIE-LCHlch(63.62, 84.43, 320.52°)
OKLaboklab(71.41% 0.1677 -0.1497)
OKLCHoklch(71.41% 0.225 318.2)
XYZxyz(51.7777, 32.3352, 94.7620)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6AFB #8AFB6A
analogous
#936AFB #DB6AFB #FB6AD2
triadic
#DB6AFB #FBDB6A #6AFBDB
tetradic
#DB6AFB #FB936A #8AFB6A #6AD2FB
square
#DB6AFB #FB936A #8AFB6A #6AD2FB
split-complementary
#DB6AFB #D2FB6A #6AFB93
monochromatic
#B306E4 #CD2EF9 #DB6AFB #E9A6FD #F8E1FE

Accessibility & contrast

On white

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

On black

7.47
#DB6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB6AFB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB6AFB#FFFFFF#000000##000000
##DB6AFB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#DB81A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #db6afb;
/* rgb */ color: rgb(219, 106, 251);
/* oklch */ color: oklch(71.4% 0.225 318.2);
Tailwind
colors: {
  custom: {
    50: '#e99afd',
    500: '#db6afb',
    950: '#000000',
  },
}
SCSS
$custom: #db6afb;
$custom-light: #e99afd;
$custom-dark: #000000;
JSON
{
  "hex": "#db6afb",
  "rgb": {
    "r": 219,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 286.759,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.71409,
    "c": 0.22485,
    "h": 318.2
  },
  "luminance": 0.32333
}

Semantic roles & 50–950 ramp

primary
#DB6AFB
secondary
#D5F5CC
accent
#E60033
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #DB6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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