#DB91EC#DB91EC

#DB91EC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.2% C 0.148 H 320.0°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#DB91EC
RGBrgb(219, 145, 236)
HSLhsl(289, 71%, 75%)
HSVhsv(289, 39%, 93%)
CMYKcmyk(7.2%, 38.6%, 0%, 7.5%)
CIE-LABlab(70.43, 42.77, -34.74)
CIE-LCHlch(70.43, 55.10, 320.92°)
OKLaboklab(76.24% 0.1135 -0.0953)
OKLCHoklch(76.24% 0.148 320)
XYZxyz(54.4772, 41.3687, 84.4559)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB91EC #A2EC91
analogous
#AD91EC #DB91EC #EC91D0
triadic
#DB91EC #ECDB91 #91ECDB
tetradic
#DB91EC #ECAD91 #A2EC91 #91D0EC
square
#DB91EC #ECAD91 #A2EC91 #91D0EC
split-complementary
#DB91EC #D0EC91 #91ECAD
monochromatic
#B929DA #CA5DE3 #DB91EC #ECC5F5 #F6E5FA

Accessibility & contrast

On white

2.26
#DB91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#DB91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB91EC
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB91EC#FFFFFF#000000##000000
##DB91EC1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#DC9CB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db91ec;
/* rgb */ color: rgb(219, 145, 236);
/* oklch */ color: oklch(76.2% 0.148 320.0);
Tailwind
colors: {
  custom: {
    50: '#e7b2f2',
    500: '#db91ec',
    950: '#000000',
  },
}
SCSS
$custom: #db91ec;
$custom-light: #e7b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db91ec",
  "rgb": {
    "r": 219,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 288.791,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76238,
    "c": 0.14819,
    "h": 320
  },
  "luminance": 0.41367
}

Semantic roles & 50–950 ramp

primary
#DB91EC
secondary
#DEF2D9
accent
#D31337
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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