#DB6CFC#DB6CFC

#DB6CFC is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.7% C 0.223 H 317.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#DB6CFC
RGBrgb(219, 108, 252)
HSLhsl(286, 96%, 71%)
HSVhsv(286, 57%, 99%)
CMYKcmyk(13.1%, 57.1%, 0%, 1.2%)
CIE-LABlab(64.01, 64.44, -53.60)
CIE-LCHlch(64.01, 83.82, 320.24°)
OKLaboklab(71.71% 0.1653 -0.1495)
OKLCHoklch(71.71% 0.223 317.9)
XYZxyz(52.1442, 32.8155, 95.6639)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6CFC #8DFC6C
analogous
#936CFC #DB6CFC #FC6CD5
triadic
#DB6CFC #FCDB6C #6CFCDB
tetradic
#DB6CFC #FC936C #8DFC6C #6CD5FC
square
#DB6CFC #FC936C #8DFC6C #6CD5FC
split-complementary
#DB6CFC #D5FC6C #6CFC93
monochromatic
#B505E9 #CC30FB #DB6CFC #EAA8FD #F8E1FE

Accessibility & contrast

On white

2.78
#DB6CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#DB6CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB6CFC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB6CFC#FFFFFF#000000##000000
##DB6CFC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#DA83AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db6cfc;
/* rgb */ color: rgb(219, 108, 252);
/* oklch */ color: oklch(71.7% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#e99bfe',
    500: '#db6cfc',
    950: '#000000',
  },
}
SCSS
$custom: #db6cfc;
$custom-light: #e99bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#db6cfc",
  "rgb": {
    "r": 219,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 286.25,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.22294,
    "h": 317.9
  },
  "luminance": 0.32813
}

Semantic roles & 50–950 ramp

primary
#DB6CFC
secondary
#D7F5CE
accent
#E60035
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #DB6CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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