#DB51FF#DB51FF

#DB51FF is a light, highly saturated purple. Relative luminance 0.282; OKLCH L 68.9% C 0.261 H 318.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#DB51FF
RGBrgb(219, 81, 255)
HSLhsl(288, 100%, 66%)
HSVhsv(288, 68%, 100%)
CMYKcmyk(14.1%, 68.2%, 0%, 0%)
CIE-LABlab(60.04, 76.42, -61.59)
CIE-LCHlch(60.04, 98.15, 321.13°)
OKLaboklab(68.89% 0.1954 -0.1727)
OKLCHoklch(68.89% 0.261 318.5)
XYZxyz(50.2034, 28.1672, 97.3807)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB51FF #75FF51
analogous
#8451FF #DB51FF #FF51CC
triadic
#DB51FF #FFDB51 #51FFDB
tetradic
#DB51FF #FF8451 #75FF51 #51CCFF
square
#DB51FF #FF8451 #75FF51 #51CCFF
split-complementary
#DB51FF #CCFF51 #51FF84
monochromatic
#A900D6 #CE14FF #DB51FF #E88EFF #F4CBFF

Accessibility & contrast

On white

3.17
#DB51FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#DB51FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB51FF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB51FF#FFFFFF#000000##000000
##DB51FF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#DA72A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #db51ff;
/* rgb */ color: rgb(219, 81, 255);
/* oklch */ color: oklch(68.9% 0.261 318.5);
Tailwind
colors: {
  custom: {
    50: '#ea8cff',
    500: '#db51ff',
    950: '#000000',
  },
}
SCSS
$custom: #db51ff;
$custom-light: #ea8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#db51ff",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 287.586,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.26078,
    "h": 318.5
  },
  "luminance": 0.28165
}

Semantic roles & 50–950 ramp

primary
#DB51FF
secondary
#C5F3B9
accent
#E6002F
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DB51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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