#DB7CFC#DB7CFC

#DB7CFC is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.199 H 316.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DB7CFC
RGBrgb(219, 124, 252)
HSLhsl(285, 96%, 74%)
HSVhsv(285, 51%, 99%)
CMYKcmyk(13.1%, 50.8%, 0%, 1.2%)
CIE-LABlab(66.90, 56.74, -49.03)
CIE-LCHlch(66.90, 74.99, 319.17°)
OKLaboklab(73.84% 0.145 -0.1363)
OKLCHoklch(73.84% 0.199 316.8)
XYZxyz(53.9892, 36.5054, 96.2789)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CFC #9DFC7C
analogous
#9B7CFC #DB7CFC #FC7CDD
triadic
#DB7CFC #FCDB7C #7CFCDB
tetradic
#DB7CFC #FC9B7C #9DFC7C #7CDDFC
square
#DB7CFC #FC9B7C #9DFC7C #7CDDFC
split-complementary
#DB7CFC #DDFC7C #7CFC9B
monochromatic
#B906F8 #CB40FB #DB7CFC #EBB8FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.30
#DB7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CFC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CFC#FFFFFF#000000##000000
##DB7CFC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#DA8FB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7cfc;
/* rgb */ color: rgb(219, 124, 252);
/* oklch */ color: oklch(73.8% 0.199 316.8);
Tailwind
colors: {
  custom: {
    50: '#e8a5fe',
    500: '#db7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #db7cfc;
$custom-light: #e8a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cfc",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 284.531,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73837,
    "c": 0.19903,
    "h": 316.8
  },
  "luminance": 0.36504
}

Semantic roles & 50–950 ramp

primary
#DB7CFC
secondary
#DDF7D4
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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