#DB9AEE#DB9AEE

#DB9AEE is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.8% C 0.135 H 318.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#DB9AEE
RGBrgb(219, 154, 238)
HSLhsl(286, 71%, 77%)
HSVhsv(286, 35%, 93%)
CMYKcmyk(8%, 35.3%, 0%, 6.7%)
CIE-LABlab(72.46, 38.37, -32.70)
CIE-LCHlch(72.46, 50.41, 319.57°)
OKLaboklab(77.79% 0.1009 -0.0896)
OKLCHoklch(77.79% 0.135 318.4)
XYZxyz(56.1995, 44.3458, 86.4715)
Luminance0.4434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9AEE #ADEE9A
analogous
#B19AEE #DB9AEE #EE9AD7
triadic
#DB9AEE #EEDB9A #9AEEDB
tetradic
#DB9AEE #EEB19A #ADEE9A #9AD7EE
square
#DB9AEE #EEB19A #ADEE9A #9AD7EE
split-complementary
#DB9AEE #D7EE9A #9AEEB1
monochromatic
#B631DC #C866E5 #DB9AEE #EECEF7 #F6E5FB

Accessibility & contrast

On white

2.13
#DB9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#DB9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9AEE
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9AEE#FFFFFF#000000##000000
##DB9AEE1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADF1
Deuteranopia (green-blind)
#9EB4EB
Tritanopia (blue-blind)
#DBA4B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db9aee;
/* rgb */ color: rgb(219, 154, 238);
/* oklch */ color: oklch(77.8% 0.135 318.4);
Tailwind
colors: {
  custom: {
    50: '#e7b8f3',
    500: '#db9aee',
    950: '#000000',
  },
}
SCSS
$custom: #db9aee;
$custom-light: #e7b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db9aee",
  "rgb": {
    "r": 219,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 286.429,
    "s": 71.186,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77793,
    "c": 0.13493,
    "h": 318.4
  },
  "luminance": 0.44344
}

Semantic roles & 50–950 ramp

primary
#DB9AEE
secondary
#DFF2D9
accent
#D3123E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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