#DB9AFF#DB9AFF

#DB9AFF is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.5% C 0.154 H 312.8°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#DB9AFF
RGBrgb(219, 154, 255)
HSLhsl(279, 100%, 80%)
HSVhsv(279, 40%, 100%)
CMYKcmyk(14.1%, 39.6%, 0%, 0%)
CIE-LABlab(73.15, 41.81, -40.86)
CIE-LCHlch(73.15, 58.46, 315.66°)
OKLaboklab(78.54% 0.1045 -0.1129)
OKLCHoklch(78.54% 0.154 312.8)
XYZxyz(58.8160, 45.3924, 100.2516)
Luminance0.4539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9AFF #BEFF9A
analogous
#A89AFF #DB9AFF #FF9AF0
triadic
#DB9AFF #FFDB9A #9AFFDB
tetradic
#DB9AFF #FFA89A #BEFF9A #9AF0FF
square
#DB9AFF #FFA89A #BEFF9A #9AF0FF
split-complementary
#DB9AFF #F0FF9A #9AFFA8
monochromatic
#AF20FF #C55DFF #DB9AFF #F1D7FF #F4E0FF

Accessibility & contrast

On white

2.08
#DB9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#DB9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9AFF
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9AFF#FFFFFF#000000##000000
##DB9AFF1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#97B5FC
Tritanopia (blue-blind)
#D8A8C1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9aff;
/* rgb */ color: rgb(219, 154, 255);
/* oklch */ color: oklch(78.5% 0.154 312.8);
Tailwind
colors: {
  custom: {
    50: '#e7b9ff',
    500: '#db9aff',
    950: '#000000',
  },
}
SCSS
$custom: #db9aff;
$custom-light: #e7b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9aff",
  "rgb": {
    "r": 219,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 278.614,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78542,
    "c": 0.15388,
    "h": 312.8
  },
  "luminance": 0.45391
}

Semantic roles & 50–950 ramp

primary
#DB9AFF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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