#DB31CE#DB31CE

#DB31CE is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.5% C 0.256 H 331.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#DB31CE
RGBrgb(219, 49, 206)
HSLhsl(305, 70%, 53%)
HSVhsv(305, 78%, 86%)
CMYKcmyk(0%, 77.6%, 5.9%, 14.1%)
CIE-LABlab(53.72, 78.64, -44.11)
CIE-LCHlch(53.72, 90.16, 330.71°)
OKLaboklab(63.51% 0.2252 -0.1216)
OKLCHoklch(63.51% 0.256 331.6)
XYZxyz(41.4524, 21.7164, 60.3890)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB31CE #31DB3E
analogous
#9331DB #DB31CE #DB3179
triadic
#DB31CE #CEDB31 #31CEDB
tetradic
#DB31CE #DB9331 #31DB3E #3179DB
square
#DB31CE #DB9331 #31DB3E #3179DB
split-complementary
#DB31CE #79DB31 #31DB93
monochromatic
#7C1674 #B01FA5 #DB31CE #E465DA #ED99E7

Accessibility & contrast

On white

3.93
#DB31CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#DB31CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB31CE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB31CE#FFFFFF#000000##000000
##DB31CE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#6B89CA
Tritanopia (blue-blind)
#E4487F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db31ce;
/* rgb */ color: rgb(219, 49, 206);
/* oklch */ color: oklch(63.5% 0.256 331.6);
Tailwind
colors: {
  custom: {
    50: '#eb7ddd',
    500: '#db31ce',
    950: '#000000',
  },
}
SCSS
$custom: #db31ce;
$custom-light: #eb7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#db31ce",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 304.588,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.63511,
    "c": 0.25587,
    "h": 331.6
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#DB31CE
secondary
#8FD995
accent
#ED483B
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #DB31CE

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

Preview Lab → · Contrast checker → · Palette generator →

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