#DB9CEE#DB9CEE

#DB9CEE is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.1% C 0.131 H 318.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#DB9CEE
RGBrgb(219, 156, 238)
HSLhsl(286, 71%, 77%)
HSVhsv(286, 34%, 93%)
CMYKcmyk(8%, 34.5%, 0%, 6.7%)
CIE-LABlab(72.90, 37.30, -32.02)
CIE-LCHlch(72.90, 49.16, 319.36°)
OKLaboklab(78.13% 0.098 -0.0877)
OKLCHoklch(78.13% 0.131 318.2)
XYZxyz(56.5324, 45.0115, 86.5824)
Luminance0.4501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9CEE #AFEE9C
analogous
#B29CEE #DB9CEE #EE9CD8
triadic
#DB9CEE #EEDB9C #9CEEDB
tetradic
#DB9CEE #EEB29C #AFEE9C #9CD8EE
square
#DB9CEE #EEB29C #AFEE9C #9CD8EE
split-complementary
#DB9CEE #D8EE9C #9CEEB2
monochromatic
#B534DC #C868E5 #DB9CEE #EED0F7 #F6E5FB

Accessibility & contrast

On white

2.10
#DB9CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#DB9CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9CEE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9CEE#FFFFFF#000000##000000
##DB9CEE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF1
Deuteranopia (green-blind)
#A0B5EB
Tritanopia (blue-blind)
#DBA6BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #db9cee;
/* rgb */ color: rgb(219, 156, 238);
/* oklch */ color: oklch(78.1% 0.131 318.2);
Tailwind
colors: {
  custom: {
    50: '#e7baf3',
    500: '#db9cee',
    950: '#000000',
  },
}
SCSS
$custom: #db9cee;
$custom-light: #e7baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#db9cee",
  "rgb": {
    "r": 219,
    "g": 156,
    "b": 238
  },
  "hsl": {
    "h": 286.098,
    "s": 70.69,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78127,
    "c": 0.13149,
    "h": 318.2
  },
  "luminance": 0.4501
}

Semantic roles & 50–950 ramp

primary
#DB9CEE
secondary
#DFF2D9
accent
#D3133F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB9CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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