#DB5CF8#DB5CF8

#DB5CF8 is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.6% C 0.241 H 319.7°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#DB5CF8
RGBrgb(219, 92, 248)
HSLhsl(289, 92%, 67%)
HSVhsv(289, 63%, 97%)
CMYKcmyk(11.7%, 62.9%, 0%, 2.7%)
CIE-LABlab(61.22, 70.75, -55.84)
CIE-LCHlch(61.22, 90.14, 321.72°)
OKLaboklab(69.61% 0.184 -0.156)
OKLCHoklch(69.61% 0.241 319.7)
XYZxyz(49.9817, 29.4940, 91.8489)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5CF8 #79F85C
analogous
#8D5CF8 #DB5CF8 #F85CC7
triadic
#DB5CF8 #F8DB5C #5CF8DB
tetradic
#DB5CF8 #F88D5C #79F85C #5CC7F8
square
#DB5CF8 #F88D5C #79F85C #5CC7F8
split-complementary
#DB5CF8 #C7F85C #5CF88D
monochromatic
#AC09D1 #CE21F5 #DB5CF8 #E897FB #F5D1FD

Accessibility & contrast

On white

3.04
#DB5CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#DB5CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5CF8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5CF8#FFFFFF#000000##000000
##DB5CF81.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8BFD
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#DC76A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #db5cf8;
/* rgb */ color: rgb(219, 92, 248);
/* oklch */ color: oklch(69.6% 0.241 319.7);
Tailwind
colors: {
  custom: {
    50: '#ea92fb',
    500: '#db5cf8',
    950: '#000000',
  },
}
SCSS
$custom: #db5cf8;
$custom-light: #ea92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db5cf8",
  "rgb": {
    "r": 219,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 288.846,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.24121,
    "h": 319.7
  },
  "luminance": 0.29492
}

Semantic roles & 50–950 ramp

primary
#DB5CF8
secondary
#C8F1BF
accent
#E6002B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DB5CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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