#DB88EC#DB88EC

#DB88EC is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.8% C 0.163 H 320.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#DB88EC
RGBrgb(219, 136, 236)
HSLhsl(290, 72%, 73%)
HSVhsv(290, 42%, 93%)
CMYKcmyk(7.2%, 42.4%, 0%, 7.5%)
CIE-LABlab(68.55, 47.50, -37.66)
CIE-LCHlch(68.55, 60.62, 321.59°)
OKLaboklab(74.83% 0.1263 -0.1036)
OKLCHoklch(74.83% 0.163 320.6)
XYZxyz(53.1561, 38.7264, 84.0155)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB88EC #99EC88
analogous
#A988EC #DB88EC #EC88CB
triadic
#DB88EC #ECDB88 #88ECDB
tetradic
#DB88EC #ECA988 #99EC88 #88CBEC
square
#DB88EC #ECA988 #99EC88 #88CBEC
split-complementary
#DB88EC #CBEC88 #88ECA9
monochromatic
#B822D7 #CB53E4 #DB88EC #EBBDF4 #F7E5FB

Accessibility & contrast

On white

2.40
#DB88EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#DB88EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB88EC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB88EC#FFFFFF#000000##000000
##DB88EC1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#DD94AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db88ec;
/* rgb */ color: rgb(219, 136, 236);
/* oklch */ color: oklch(74.8% 0.163 320.6);
Tailwind
colors: {
  custom: {
    50: '#e8acf2',
    500: '#db88ec',
    950: '#000000',
  },
}
SCSS
$custom: #db88ec;
$custom-light: #e8acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#db88ec",
  "rgb": {
    "r": 219,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 289.8,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74827,
    "c": 0.16337,
    "h": 320.6
  },
  "luminance": 0.38725
}

Semantic roles & 50–950 ramp

primary
#DB88EC
secondary
#DDF2D9
accent
#D51132
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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