#DB7CEE#DB7CEE

#DB7CEE is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.1% C 0.185 H 320.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DB7CEE
RGBrgb(219, 124, 238)
HSLhsl(290, 77%, 71%)
HSVhsv(290, 48%, 93%)
CMYKcmyk(8%, 47.9%, 0%, 6.7%)
CIE-LABlab(66.25, 54.02, -42.36)
CIE-LCHlch(66.25, 68.64, 321.90°)
OKLaboklab(73.14% 0.1433 -0.117)
OKLCHoklch(73.14% 0.185 320.8)
XYZxyz(51.8519, 35.6505, 85.0223)
Luminance0.3565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CEE #8FEE7C
analogous
#A27CEE #DB7CEE #EE7CC8
triadic
#DB7CEE #EEDB7C #7CEEDB
tetradic
#DB7CEE #EEA27C #8FEE7C #7CC8EE
square
#DB7CEE #EEA27C #8FEE7C #7CC8EE
split-complementary
#DB7CEE #C8EE7C #7CEEA2
monochromatic
#B51CD4 #CC46E7 #DB7CEE #EAB2F5 #F8E4FB

Accessibility & contrast

On white

2.58
#DB7CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#DB7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CEE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CEE#FFFFFF#000000##000000
##DB7CEE1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#DD8BAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7cee;
/* rgb */ color: rgb(219, 124, 238);
/* oklch */ color: oklch(73.1% 0.185 320.8);
Tailwind
colors: {
  custom: {
    50: '#e8a5f4',
    500: '#db7cee',
    950: '#000000',
  },
}
SCSS
$custom: #db7cee;
$custom-light: #e8a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cee",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 290,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73141,
    "c": 0.18501,
    "h": 320.8
  },
  "luminance": 0.35648
}

Semantic roles & 50–950 ramp

primary
#DB7CEE
secondary
#D9F2D4
accent
#D90C2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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