#DB7BE2#DB7BE2

#DB7BE2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.175 H 324.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DB7BE2
RGBrgb(219, 123, 226)
HSLhsl(296, 64%, 68%)
HSVhsv(296, 46%, 89%)
CMYKcmyk(3.1%, 45.6%, 0%, 11.4%)
CIE-LABlab(65.53, 52.27, -36.85)
CIE-LCHlch(65.53, 63.95, 324.82°)
OKLaboklab(72.43% 0.1428 -0.1012)
OKLCHoklch(72.43% 0.175 324.7)
XYZxyz(50.0226, 34.7193, 76.0033)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BE2 #82E27B
analogous
#A77BE2 #DB7BE2 #E27BB5
triadic
#DB7BE2 #E2DB7B #7BE2DB
tetradic
#DB7BE2 #E2A77B #82E27B #7BB5E2
square
#DB7BE2 #E2A77B #82E27B #7BB5E2
split-complementary
#DB7BE2 #B5E27B #7BE2A7
monochromatic
#B029BA #CD49D7 #DB7BE2 #E9ADED #F6DFF8

Accessibility & contrast

On white

2.64
#DB7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DB7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BE2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BE2#FFFFFF#000000##000000
##DB7BE21.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#8BA3DF
Tritanopia (blue-blind)
#DF87A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db7be2;
/* rgb */ color: rgb(219, 123, 226);
/* oklch */ color: oklch(72.4% 0.175 324.7);
Tailwind
colors: {
  custom: {
    50: '#e8a4eb',
    500: '#db7be2',
    950: '#000000',
  },
}
SCSS
$custom: #db7be2;
$custom-light: #e8a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7be2",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 295.922,
    "s": 63.975,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72432,
    "c": 0.17502,
    "h": 324.7
  },
  "luminance": 0.34717
}

Semantic roles & 50–950 ramp

primary
#DB7BE2
secondary
#CFECCD
accent
#CC1A26
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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