#DB8BEC#DB8BEC

#DB8BEC is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.3% C 0.158 H 320.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#DB8BEC
RGBrgb(219, 139, 236)
HSLhsl(289, 72%, 74%)
HSVhsv(289, 41%, 93%)
CMYKcmyk(7.2%, 41.1%, 0%, 7.5%)
CIE-LABlab(69.17, 45.93, -36.70)
CIE-LCHlch(69.17, 58.79, 321.38°)
OKLaboklab(75.29% 0.122 -0.1009)
OKLCHoklch(75.29% 0.158 320.4)
XYZxyz(53.5845, 39.5833, 84.1583)
Luminance0.3958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8BEC #9CEC8B
analogous
#AA8BEC #DB8BEC #EC8BCC
triadic
#DB8BEC #ECDB8B #8BECDB
tetradic
#DB8BEC #ECAA8B #9CEC8B #8BCCEC
square
#DB8BEC #ECAA8B #9CEC8B #8BCCEC
split-complementary
#DB8BEC #CCEC8B #8BECAA
monochromatic
#B924D9 #CB56E3 #DB8BEC #EBC0F5 #F7E5FB

Accessibility & contrast

On white

2.36
#DB8BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#DB8BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8BEC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8BEC#FFFFFF#000000##000000
##DB8BEC1.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EF
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#DD97B0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db8bec;
/* rgb */ color: rgb(219, 139, 236);
/* oklch */ color: oklch(75.3% 0.158 320.4);
Tailwind
colors: {
  custom: {
    50: '#e8aef2',
    500: '#db8bec',
    950: '#000000',
  },
}
SCSS
$custom: #db8bec;
$custom-light: #e8aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#db8bec",
  "rgb": {
    "r": 219,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 289.485,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7529,
    "c": 0.15834,
    "h": 320.4
  },
  "luminance": 0.39581
}

Semantic roles & 50–950 ramp

primary
#DB8BEC
secondary
#DDF2D9
accent
#D41234
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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