#DB9DFE#DB9DFE

#DB9DFE is a light, vivid violet. Relative luminance 0.463; OKLCH L 79.0% C 0.148 H 312.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#DB9DFE
RGBrgb(219, 157, 254)
HSLhsl(278, 98%, 81%)
HSVhsv(278, 38%, 100%)
CMYKcmyk(13.8%, 38.2%, 0%, 0.4%)
CIE-LABlab(73.76, 40.00, -39.37)
CIE-LCHlch(73.76, 56.13, 315.46°)
OKLaboklab(78.99% 0.1001 -0.1087)
OKLCHoklch(78.99% 0.148 312.7)
XYZxyz(59.1568, 46.3308, 99.5731)
Luminance0.4633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9DFE #C0FE9D
analogous
#AA9DFE #DB9DFE #FE9DF0
triadic
#DB9DFE #FEDB9D #9DFEDB
tetradic
#DB9DFE #FEAA9D #C0FE9D #9DF0FE
square
#DB9DFE #FEAA9D #C0FE9D #9DF0FE
split-complementary
#DB9DFE #F0FE9D #9DFEAA
monochromatic
#AE24FD #C560FD #DB9DFE #F1DAFF #F4E1FF

Accessibility & contrast

On white

2.05
#DB9DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#DB9DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9DFE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9DFE#FFFFFF#000000##000000
##DB9DFE1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB2FF
Deuteranopia (green-blind)
#9AB7FB
Tritanopia (blue-blind)
#D8AAC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #db9dfe;
/* rgb */ color: rgb(219, 157, 254);
/* oklch */ color: oklch(79.0% 0.148 312.7);
Tailwind
colors: {
  custom: {
    50: '#e7bbff',
    500: '#db9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #db9dfe;
$custom-light: #e7bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9dfe",
  "rgb": {
    "r": 219,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 278.351,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78988,
    "c": 0.14776,
    "h": 312.7
  },
  "luminance": 0.4633
}

Semantic roles & 50–950 ramp

primary
#DB9DFE
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DB9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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