#DB52FF#DB52FF

#DB52FF is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 69.0% C 0.260 H 318.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#DB52FF
RGBrgb(219, 82, 255)
HSLhsl(288, 100%, 66%)
HSVhsv(288, 68%, 100%)
CMYKcmyk(14.1%, 67.8%, 0%, 0%)
CIE-LABlab(60.17, 76.04, -61.38)
CIE-LCHlch(60.17, 97.72, 321.09°)
OKLaboklab(68.99% 0.1944 -0.1721)
OKLCHoklch(68.99% 0.26 318.5)
XYZxyz(50.2783, 28.3169, 97.4057)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB52FF #76FF52
analogous
#8452FF #DB52FF #FF52CD
triadic
#DB52FF #FFDB52 #52FFDB
tetradic
#DB52FF #FF8452 #76FF52 #52CDFF
square
#DB52FF #FF8452 #76FF52 #52CDFF
split-complementary
#DB52FF #CDFF52 #52FF84
monochromatic
#AA00D7 #CE15FF #DB52FF #E88FFF #F4CCFF

Accessibility & contrast

On white

3.15
#DB52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#DB52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB52FF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB52FF#FFFFFF#000000##000000
##DB52FF1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db52ff;
/* rgb */ color: rgb(219, 82, 255);
/* oklch */ color: oklch(69.0% 0.260 318.5);
Tailwind
colors: {
  custom: {
    50: '#ea8dff',
    500: '#db52ff',
    950: '#000000',
  },
}
SCSS
$custom: #db52ff;
$custom-light: #ea8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#db52ff",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 287.514,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6899,
    "c": 0.25961,
    "h": 318.5
  },
  "luminance": 0.28315
}

Semantic roles & 50–950 ramp

primary
#DB52FF
secondary
#C6F3BA
accent
#E60030
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #DB52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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