#DB7CFE#DB7CFE

#DB7CFE is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 73.9% C 0.201 H 316.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DB7CFE
RGBrgb(219, 124, 254)
HSLhsl(284, 98%, 74%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(13.8%, 51.2%, 0%, 0.4%)
CIE-LABlab(67.00, 57.14, -49.97)
CIE-LCHlch(67.00, 75.91, 318.83°)
OKLaboklab(73.94% 0.1452 -0.1391)
OKLCHoklch(73.94% 0.201 316.2)
XYZxyz(54.3078, 36.6329, 97.9568)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CFE #9FFE7C
analogous
#9A7CFE #DB7CFE #FE7CE0
triadic
#DB7CFE #FEDB7C #7CFEDB
tetradic
#DB7CFE #FE9A7C #9FFE7C #7CE0FE
square
#DB7CFE #FE9A7C #9FFE7C #7CE0FE
split-complementary
#DB7CFE #E0FE7C #7CFE9A
monochromatic
#BA03FD #CA3FFE #DB7CFE #ECB9FE #F7E1FF

Accessibility & contrast

On white

2.52
#DB7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#DB7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CFE
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CFE#FFFFFF#000000##000000
##DB7CFE1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7EA6FB
Tritanopia (blue-blind)
#D990B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7cfe;
/* rgb */ color: rgb(219, 124, 254);
/* oklch */ color: oklch(73.9% 0.201 316.2);
Tailwind
colors: {
  custom: {
    50: '#e9a5ff',
    500: '#db7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #db7cfe;
$custom-light: #e9a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cfe",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 283.846,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73939,
    "c": 0.20106,
    "h": 316.2
  },
  "luminance": 0.36631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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