#DB05C8#DB05C8

#DB05C8 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.5% C 0.274 H 333.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#DB05C8
RGBrgb(219, 5, 200)
HSLhsl(305, 96%, 44%)
HSVhsv(305, 98%, 86%)
CMYKcmyk(0%, 97.7%, 8.7%, 14.1%)
CIE-LABlab(51.09, 84.57, -44.84)
CIE-LCHlch(51.09, 95.72, 332.07°)
OKLaboklab(61.53% 0.245 -0.1235)
OKLCHoklch(61.53% 0.274 333.2)
XYZxyz(39.6934, 19.3425, 56.2754)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB05C8 #05DB18
analogous
#8305DB #DB05C8 #DB055D
triadic
#DB05C8 #C8DB05 #05C8DB
tetradic
#DB05C8 #DB8305 #05DB18 #055DDB
square
#DB05C8 #DB8305 #05DB18 #055DDB
split-complementary
#DB05C8 #5DDB05 #05DB83
monochromatic
#63025B #9F0491 #DB05C8 #FA23E7 #FB5FED

Accessibility & contrast

On white

4.31
#DB05C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#DB05C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB05C8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB05C8#FFFFFF#000000##000000
##DB05C81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#E53176
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #db05c8;
/* rgb */ color: rgb(219, 5, 200);
/* oklch */ color: oklch(61.5% 0.274 333.2);
Tailwind
colors: {
  custom: {
    50: '#eb73d9',
    500: '#db05c8',
    950: '#000000',
  },
}
SCSS
$custom: #db05c8;
$custom-light: #eb73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#db05c8",
  "rgb": {
    "r": 219,
    "g": 5,
    "b": 200
  },
  "hsl": {
    "h": 305.327,
    "s": 95.536,
    "l": 43.922
  },
  "oklch": {
    "l": 0.61534,
    "c": 0.27437,
    "h": 333.2
  },
  "luminance": 0.19339
}

Semantic roles & 50–950 ramp

primary
#DB05C8
secondary
#5DDF68
accent
#FF3C29
background
#FFF7FD
surface
#FEEEFA
border
#D6C9D3
text
#170A15
muted
#857C83

Preview Lab

Preview with #DB05C8

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

Preview Lab → · Contrast checker → · Palette generator →

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