#DB9FFE#DB9FFE

#DB9FFE is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.3% C 0.144 H 312.4°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#DB9FFE
RGBrgb(219, 159, 254)
HSLhsl(278, 98%, 81%)
HSVhsv(278, 37%, 100%)
CMYKcmyk(13.8%, 37.4%, 0%, 0.4%)
CIE-LABlab(74.20, 38.93, -38.69)
CIE-LCHlch(74.20, 54.89, 315.18°)
OKLaboklab(79.32% 0.0973 -0.1067)
OKLCHoklch(79.32% 0.144 312.4)
XYZxyz(59.4979, 47.0131, 99.6868)
Luminance0.4701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9FFE #C2FE9F
analogous
#AB9FFE #DB9FFE #FE9FF1
triadic
#DB9FFE #FEDB9F #9FFEDB
tetradic
#DB9FFE #FEAB9F #C2FE9F #9FF1FE
square
#DB9FFE #FEAB9F #C2FE9F #9FF1FE
split-complementary
#DB9FFE #F1FE9F #9FFEAB
monochromatic
#AE26FD #C462FD #DB9FFE #F2DCFF #F4E1FF

Accessibility & contrast

On white

2.02
#DB9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#DB9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9FFE
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9FFE#FFFFFF#000000##000000
##DB9FFE1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db9ffe;
/* rgb */ color: rgb(219, 159, 254);
/* oklch */ color: oklch(79.3% 0.144 312.4);
Tailwind
colors: {
  custom: {
    50: '#e7bcff',
    500: '#db9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #db9ffe;
$custom-light: #e7bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9ffe",
  "rgb": {
    "r": 219,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 277.895,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.7932,
    "c": 0.14442,
    "h": 312.4
  },
  "luminance": 0.47012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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