#DB7CF8#DB7CF8

#DB7CF8 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.195 H 317.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF8
RGBrgb(219, 124, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.7%, 50%, 0%, 2.7%)
CIE-LABlab(66.71, 55.95, -47.13)
CIE-LCHlch(66.71, 73.16, 319.89°)
OKLaboklab(73.63% 0.1446 -0.1308)
OKLCHoklch(73.63% 0.195 317.8)
XYZxyz(53.3620, 36.2545, 92.9756)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF8 #99F87C
analogous
#9D7CF8 #DB7CF8 #F87CD7
triadic
#DB7CF8 #F8DB7C #7CF8DB
tetradic
#DB7CF8 #F89D7C #99F87C #7CD7F8
square
#DB7CF8 #F89D7C #99F87C #7CD7F8
split-complementary
#DB7CF8 #D7F87C #7CF89D
monochromatic
#B80DED #CB42F5 #DB7CF8 #EBB6FB #F7E2FD

Accessibility & contrast

On white

2.55
#DB7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#DB7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF8#FFFFFF#000000##000000
##DB7CF81.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649CFC
Deuteranopia (green-blind)
#81A5F5
Tritanopia (blue-blind)
#DB8EAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7cf8;
/* rgb */ color: rgb(219, 124, 248);
/* oklch */ color: oklch(73.6% 0.195 317.8);
Tailwind
colors: {
  custom: {
    50: '#e8a5fb',
    500: '#db7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf8;
$custom-light: #e8a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf8",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 285.968,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73634,
    "c": 0.19499,
    "h": 317.8
  },
  "luminance": 0.36253
}

Semantic roles & 50–950 ramp

primary
#DB7CF8
secondary
#DDF6D5
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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