#DB9EEE#DB9EEE

#DB9EEE is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.5% C 0.128 H 318.0°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#DB9EEE
RGBrgb(219, 158, 238)
HSLhsl(286, 70%, 78%)
HSVhsv(286, 34%, 93%)
CMYKcmyk(8%, 33.6%, 0%, 6.7%)
CIE-LABlab(73.34, 36.23, -31.33)
CIE-LCHlch(73.34, 47.90, 319.15°)
OKLaboklab(78.46% 0.0951 -0.0857)
OKLCHoklch(78.46% 0.128 318)
XYZxyz(56.8707, 45.6882, 86.6952)
Luminance0.4569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9EEE #B1EE9E
analogous
#B39EEE #DB9EEE #EE9ED9
triadic
#DB9EEE #EEDB9E #9EEEDB
tetradic
#DB9EEE #EEB39E #B1EE9E #9ED9EE
square
#DB9EEE #EEB39E #B1EE9E #9ED9EE
split-complementary
#DB9EEE #D9EE9E #9EEEB3
monochromatic
#B436DC #C86AE5 #DB9EEE #EED2F7 #F5E5FA

Accessibility & contrast

On white

2.07
#DB9EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#DB9EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9EEE
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9EEE#FFFFFF#000000##000000
##DB9EEE1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F1
Deuteranopia (green-blind)
#A2B6EB
Tritanopia (blue-blind)
#DBA7BB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9eee;
/* rgb */ color: rgb(219, 158, 238);
/* oklch */ color: oklch(78.5% 0.128 318.0);
Tailwind
colors: {
  custom: {
    50: '#e7bbf3',
    500: '#db9eee',
    950: '#000000',
  },
}
SCSS
$custom: #db9eee;
$custom-light: #e7bbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#db9eee",
  "rgb": {
    "r": 219,
    "g": 158,
    "b": 238
  },
  "hsl": {
    "h": 285.75,
    "s": 70.175,
    "l": 77.647
  },
  "oklch": {
    "l": 0.78463,
    "c": 0.12804,
    "h": 318
  },
  "luminance": 0.45687
}

Semantic roles & 50–950 ramp

primary
#DB9EEE
secondary
#DFF2D9
accent
#D21341
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DB9EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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