#DB5FFB#DB5FFB

#DB5FFB is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.1% C 0.240 H 318.8°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#DB5FFB
RGBrgb(219, 95, 251)
HSLhsl(288, 95%, 68%)
HSVhsv(288, 62%, 98%)
CMYKcmyk(12.7%, 62.2%, 0%, 1.6%)
CIE-LABlab(61.84, 70.04, -56.51)
CIE-LCHlch(61.84, 90.00, 321.10°)
OKLaboklab(70.12% 0.1806 -0.1579)
OKLCHoklch(70.12% 0.24 318.8)
XYZxyz(50.7159, 30.2117, 94.4081)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5FFB #7FFB5F
analogous
#8D5FFB #DB5FFB #FB5FCD
triadic
#DB5FFB #FBDB5F #5FFBDB
tetradic
#DB5FFB #FB8D5F #7FFB5F #5FCDFB
square
#DB5FFB #FB8D5F #7FFB5F #5FCDFB
split-complementary
#DB5FFB #CDFB5F #5FFB8D
monochromatic
#AF05DA #CE23FA #DB5FFB #E89BFC #F6D6FE

Accessibility & contrast

On white

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

On black

7.04
#DB5FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB5FFB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5FFB#FFFFFF#000000##000000
##DB5FFB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#DB7AA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #db5ffb;
/* rgb */ color: rgb(219, 95, 251);
/* oklch */ color: oklch(70.1% 0.240 318.8);
Tailwind
colors: {
  custom: {
    50: '#ea94fd',
    500: '#db5ffb',
    950: '#000000',
  },
}
SCSS
$custom: #db5ffb;
$custom-light: #ea94fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db5ffb",
  "rgb": {
    "r": 219,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 287.692,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70115,
    "c": 0.23995,
    "h": 318.8
  },
  "luminance": 0.3021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB5FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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