#DB7CFB#DB7CFB

#DB7CFB is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.198 H 317.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#DB7CFB
RGBrgb(219, 124, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 51%, 98%)
CMYKcmyk(12.7%, 50.6%, 0%, 1.6%)
CIE-LABlab(66.86, 56.54, -48.55)
CIE-LCHlch(66.86, 74.53, 319.35°)
OKLaboklab(73.79% 0.1449 -0.135)
OKLCHoklch(73.79% 0.198 317)
XYZxyz(53.8311, 36.4422, 95.4465)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CFB #9CFB7C
analogous
#9B7CFB #DB7CFB #FB7CDB
triadic
#DB7CFB #FBDB7C #7CFBDB
tetradic
#DB7CFB #FB9B7C #9CFB7C #7CDBFB
square
#DB7CFB #FB9B7C #9CFB7C #7CDBFB
split-complementary
#DB7CFB #DBFB7C #7CFB9B
monochromatic
#B907F5 #CB41F9 #DB7CFB #EBB7FD #F7E1FE

Accessibility & contrast

On white

2.53
#DB7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#DB7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CFB
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CFB#FFFFFF#000000##000000
##DB7CFB1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#DA8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7cfb;
/* rgb */ color: rgb(219, 124, 251);
/* oklch */ color: oklch(73.8% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#e8a5fd',
    500: '#db7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #db7cfb;
$custom-light: #e8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cfb",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 284.882,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73786,
    "c": 0.19802,
    "h": 317
  },
  "luminance": 0.3644
}

Semantic roles & 50–950 ramp

primary
#DB7CFB
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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