#DB9EFF#DB9EFF

#DB9EFF is a light, vivid violet. Relative luminance 0.467; OKLCH L 79.2% C 0.147 H 312.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#DB9EFF
RGBrgb(219, 158, 255)
HSLhsl(278, 100%, 81%)
HSVhsv(278, 38%, 100%)
CMYKcmyk(14.1%, 38%, 0%, 0%)
CIE-LABlab(74.02, 39.68, -39.51)
CIE-LCHlch(74.02, 55.99, 315.12°)
OKLaboklab(79.2% 0.0989 -0.1091)
OKLCHoklch(79.2% 0.147 312.2)
XYZxyz(59.4872, 46.7348, 100.4753)
Luminance0.4673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9EFF #C2FF9E
analogous
#AA9EFF #DB9EFF #FF9EF2
triadic
#DB9EFF #FFDB9E #9EFFDB
tetradic
#DB9EFF #FFAA9E #C2FF9E #9EF2FF
square
#DB9EFF #FFAA9E #C2FF9E #9EF2FF
split-complementary
#DB9EFF #F2FF9E #9EFFAA
monochromatic
#AE24FF #C461FF #DB9EFF #F2DBFF #F4E0FF

Accessibility & contrast

On white

2.03
#DB9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#DB9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9EFF
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9EFF#FFFFFF#000000##000000
##DB9EFF1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB3FF
Deuteranopia (green-blind)
#9BB7FC
Tritanopia (blue-blind)
#D8ACC3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #db9eff;
/* rgb */ color: rgb(219, 158, 255);
/* oklch */ color: oklch(79.2% 0.147 312.2);
Tailwind
colors: {
  custom: {
    50: '#e7bbff',
    500: '#db9eff',
    950: '#000000',
  },
}
SCSS
$custom: #db9eff;
$custom-light: #e7bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9eff",
  "rgb": {
    "r": 219,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 277.732,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79198,
    "c": 0.14724,
    "h": 312.2
  },
  "luminance": 0.46734
}

Semantic roles & 50–950 ramp

primary
#DB9EFF
secondary
#E1F7D4
accent
#E60055
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DB9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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