#DB6CEF#DB6CEF

#DB6CEF is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.0% C 0.211 H 321.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#DB6CEF
RGBrgb(219, 108, 239)
HSLhsl(291, 80%, 68%)
HSVhsv(291, 55%, 94%)
CMYKcmyk(8.4%, 54.8%, 0%, 6.3%)
CIE-LABlab(63.36, 61.98, -47.46)
CIE-LCHlch(63.36, 78.06, 322.56°)
OKLaboklab(71.02% 0.1645 -0.1317)
OKLCHoklch(71.02% 0.211 321.3)
XYZxyz(50.1542, 32.0195, 85.1832)
Luminance0.3202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6CEF #80EF6C
analogous
#9A6CEF #DB6CEF #EF6CC1
triadic
#DB6CEF #EFDB6C #6CEFDB
tetradic
#DB6CEF #EF9A6C #80EF6C #6CC1EF
square
#DB6CEF #EF9A6C #80EF6C #6CC1EF
split-complementary
#DB6CEF #C1EF6C #6CEF9A
monochromatic
#AF16CB #CD35E9 #DB6CEF #E9A3F5 #F6DAFB

Accessibility & contrast

On white

2.84
#DB6CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#DB6CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB6CEF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB6CEF#FFFFFF#000000##000000
##DB6CEF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#799EEB
Tritanopia (blue-blind)
#DD7FA4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #db6cef;
/* rgb */ color: rgb(219, 108, 239);
/* oklch */ color: oklch(71.0% 0.211 321.3);
Tailwind
colors: {
  custom: {
    50: '#e99bf5',
    500: '#db6cef',
    950: '#000000',
  },
}
SCSS
$custom: #db6cef;
$custom-light: #e99bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#db6cef",
  "rgb": {
    "r": 219,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 290.84,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71023,
    "c": 0.21072,
    "h": 321.3
  },
  "luminance": 0.32017
}

Semantic roles & 50–950 ramp

primary
#DB6CEF
secondary
#CDEFC7
accent
#DD0929
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #DB6CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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