#DB9AFE#DB9AFE

#DB9AFE is a light, vivid violet. Relative luminance 0.453; OKLCH L 78.5% C 0.153 H 313.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#DB9AFE
RGBrgb(219, 154, 254)
HSLhsl(279, 98%, 80%)
HSVhsv(279, 39%, 100%)
CMYKcmyk(13.8%, 39.4%, 0%, 0.4%)
CIE-LABlab(73.11, 41.61, -40.39)
CIE-LCHlch(73.11, 57.98, 315.85°)
OKLaboklab(78.5% 0.1043 -0.1116)
OKLCHoklch(78.5% 0.153 313.1)
XYZxyz(58.6554, 45.3282, 99.4060)
Luminance0.4533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9AFE #BDFE9A
analogous
#A99AFE #DB9AFE #FE9AEF
triadic
#DB9AFE #FEDB9A #9AFEDB
tetradic
#DB9AFE #FEA99A #BDFE9A #9AEFFE
square
#DB9AFE #FEA99A #BDFE9A #9AEFFE
split-complementary
#DB9AFE #EFFE9A #9AFEA9
monochromatic
#B021FD #C55DFD #DB9AFE #F1D7FF #F4E1FF

Accessibility & contrast

On white

2.09
#DB9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#DB9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9AFE
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9AFE#FFFFFF#000000##000000
##DB9AFE1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#D8A8C0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #db9afe;
/* rgb */ color: rgb(219, 154, 254);
/* oklch */ color: oklch(78.5% 0.153 313.1);
Tailwind
colors: {
  custom: {
    50: '#e7b9ff',
    500: '#db9afe',
    950: '#000000',
  },
}
SCSS
$custom: #db9afe;
$custom-light: #e7b9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db9afe",
  "rgb": {
    "r": 219,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 279,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.78496,
    "c": 0.15276,
    "h": 313.1
  },
  "luminance": 0.45327
}

Semantic roles & 50–950 ramp

primary
#DB9AFE
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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