#DB5FFC#DB5FFC

#DB5FFC is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 70.2% C 0.241 H 318.6°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#DB5FFC
RGBrgb(219, 95, 252)
HSLhsl(287, 96%, 68%)
HSVhsv(287, 62%, 99%)
CMYKcmyk(13.1%, 62.3%, 0%, 1.2%)
CIE-LABlab(61.89, 70.23, -56.98)
CIE-LCHlch(61.89, 90.44, 320.95°)
OKLaboklab(70.17% 0.1806 -0.1593)
OKLCHoklch(70.17% 0.241 318.6)
XYZxyz(50.8740, 30.2749, 95.2404)
Luminance0.3027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5FFC #80FC5F
analogous
#8D5FFC #DB5FFC #FC5FCE
triadic
#DB5FFC #FCDB5F #5FFCDB
tetradic
#DB5FFC #FC8D5F #80FC5F #5FCEFC
square
#DB5FFC #FC8D5F #80FC5F #5FCEFC
split-complementary
#DB5FFC #CEFC5F #5FFC8D
monochromatic
#AF04DC #CD23FB #DB5FFC #E99BFD #F6D7FE

Accessibility & contrast

On white

2.98
#DB5FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#DB5FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB5FFC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5FFC#FFFFFF#000000##000000
##DB5FFC1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#DB7AA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #db5ffc;
/* rgb */ color: rgb(219, 95, 252);
/* oklch */ color: oklch(70.2% 0.241 318.6);
Tailwind
colors: {
  custom: {
    50: '#ea94fe',
    500: '#db5ffc',
    950: '#000000',
  },
}
SCSS
$custom: #db5ffc;
$custom-light: #ea94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db5ffc",
  "rgb": {
    "r": 219,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 287.389,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70171,
    "c": 0.24085,
    "h": 318.6
  },
  "luminance": 0.30273
}

Semantic roles & 50–950 ramp

primary
#DB5FFC
secondary
#CDF3C3
accent
#E60030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #DB5FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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