#DB7DFC#DB7DFC

#DB7DFC is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.197 H 316.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DB7DFC
RGBrgb(219, 125, 252)
HSLhsl(284, 95%, 74%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13.1%, 50.4%, 0%, 1.2%)
CIE-LABlab(67.09, 56.24, -48.73)
CIE-LCHlch(67.09, 74.41, 319.10°)
OKLaboklab(73.98% 0.1437 -0.1355)
OKLCHoklch(73.98% 0.197 316.7)
XYZxyz(54.1151, 36.7573, 96.3208)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DFC #9EFC7D
analogous
#9C7DFC #DB7DFC #FC7DDE
triadic
#DB7DFC #FCDB7D #7DFCDB
tetradic
#DB7DFC #FC9C7D #9EFC7D #7DDEFC
square
#DB7DFC #FC9C7D #9EFC7D #7DDEFC
split-complementary
#DB7DFC #DEFC7D #7DFC9C
monochromatic
#BA06F9 #CA41FB #DB7DFC #ECB9FD #F7E1FE

Accessibility & contrast

On white

2.51
#DB7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#DB7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DFC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DFC#FFFFFF#000000##000000
##DB7DFC1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#DA90B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7dfc;
/* rgb */ color: rgb(219, 125, 252);
/* oklch */ color: oklch(74.0% 0.197 316.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6fe',
    500: '#db7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #db7dfc;
$custom-light: #e8a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7dfc",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 284.409,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73978,
    "c": 0.19747,
    "h": 316.7
  },
  "luminance": 0.36756
}

Semantic roles & 50–950 ramp

primary
#DB7DFC
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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