#DB7CF9#DB7CF9

#DB7CF9 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.196 H 317.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF9
RGBrgb(219, 124, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 50%, 98%)
CMYKcmyk(12%, 50.2%, 0%, 2.4%)
CIE-LABlab(66.76, 56.15, -47.61)
CIE-LCHlch(66.76, 73.61, 319.71°)
OKLaboklab(73.69% 0.1447 -0.1322)
OKLCHoklch(73.69% 0.196 317.6)
XYZxyz(53.5175, 36.3168, 93.7949)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF9 #9AF97C
analogous
#9C7CF9 #DB7CF9 #F97CD8
triadic
#DB7CF9 #F9DB7C #7CF9DB
tetradic
#DB7CF9 #F99C7C #9AF97C #7CD8F9
square
#DB7CF9 #F99C7C #9AF97C #7CD8F9
split-complementary
#DB7CF9 #D8F97C #7CF99C
monochromatic
#B90BF0 #CB41F6 #DB7CF9 #EBB7FC #F7E2FE

Accessibility & contrast

On white

2.54
#DB7CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#DB7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF9#FFFFFF#000000##000000
##DB7CF91.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFD
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#DA8EAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7cf9;
/* rgb */ color: rgb(219, 124, 249);
/* oklch */ color: oklch(73.7% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#e8a5fc',
    500: '#db7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf9;
$custom-light: #e8a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf9",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 285.6,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73685,
    "c": 0.196,
    "h": 317.6
  },
  "luminance": 0.36315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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