#DB6CFB#DB6CFB

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

Color values

HEX#DB6CFB
RGBrgb(219, 108, 251)
HSLhsl(287, 95%, 70%)
HSVhsv(287, 57%, 98%)
CMYKcmyk(12.7%, 57%, 0%, 1.6%)
CIE-LABlab(63.96, 64.25, -53.14)
CIE-LCHlch(63.96, 83.37, 320.41°)
OKLaboklab(71.66% 0.1653 -0.1482)
OKLCHoklch(71.66% 0.222 318.1)
XYZxyz(51.9862, 32.7523, 94.8315)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB6CFB #8CFB6C
analogous
#936CFB #DB6CFB #FB6CD4
triadic
#DB6CFB #FBDB6C #6CFBDB
tetradic
#DB6CFB #FB936C #8CFB6C #6CD4FB
square
#DB6CFB #FB936C #8CFB6C #6CD4FB
split-complementary
#DB6CFB #D4FB6C #6CFB93
monochromatic
#B406E6 #CC30F9 #DB6CFB #EAA8FD #F8E1FE

Accessibility & contrast

On white

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

On black

7.55
#DB6CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB6CFB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB6CFB#FFFFFF#000000##000000
##DB6CFB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#729FF7
Tritanopia (blue-blind)
#DB83AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db6cfb;
/* rgb */ color: rgb(219, 108, 251);
/* oklch */ color: oklch(71.7% 0.222 318.1);
Tailwind
colors: {
  custom: {
    50: '#e99bfd',
    500: '#db6cfb',
    950: '#000000',
  },
}
SCSS
$custom: #db6cfb;
$custom-light: #e99bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#db6cfb",
  "rgb": {
    "r": 219,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 286.573,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.22199,
    "h": 318.1
  },
  "luminance": 0.3275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB6CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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