#DB8AFF#DB8AFF

#DB8AFF is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.0% C 0.180 H 314.7°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#DB8AFF
RGBrgb(219, 138, 255)
HSLhsl(282, 100%, 77%)
HSVhsv(282, 46%, 100%)
CMYKcmyk(14.1%, 45.9%, 0%, 0%)
CIE-LABlab(69.79, 50.23, -46.11)
CIE-LCHlch(69.79, 68.19, 317.45°)
OKLaboklab(76.03% 0.1266 -0.128)
OKLCHoklch(76.03% 0.18 314.7)
XYZxyz(56.3490, 40.4585, 99.4293)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8AFF #AEFF8A
analogous
#A08AFF #DB8AFF #FF8AE9
triadic
#DB8AFF #FFDB8A #8AFFDB
tetradic
#DB8AFF #FFA08A #AEFF8A #8AE9FF
square
#DB8AFF #FFA08A #AEFF8A #8AE9FF
split-complementary
#DB8AFF #E9FF8A #8AFFA0
monochromatic
#B510FF #C84DFF #DB8AFF #EEC7FF #F6E0FF

Accessibility & contrast

On white

2.31
#DB8AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#DB8AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8AFF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8AFF#FFFFFF#000000##000000
##DB8AFF1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#D99BB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #db8aff;
/* rgb */ color: rgb(219, 138, 255);
/* oklch */ color: oklch(76.0% 0.180 314.7);
Tailwind
colors: {
  custom: {
    50: '#e8aeff',
    500: '#db8aff',
    950: '#000000',
  },
}
SCSS
$custom: #db8aff;
$custom-light: #e8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#db8aff",
  "rgb": {
    "r": 219,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 281.538,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76028,
    "c": 0.18004,
    "h": 314.7
  },
  "luminance": 0.40457
}

Semantic roles & 50–950 ramp

primary
#DB8AFF
secondary
#DFF7D4
accent
#E60047
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB8AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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