#DB8AFE#DB8AFE

#DB8AFE is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.0% C 0.179 H 315.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#DB8AFE
RGBrgb(219, 138, 254)
HSLhsl(282, 98%, 77%)
HSVhsv(282, 46%, 100%)
CMYKcmyk(13.8%, 45.7%, 0%, 0.4%)
CIE-LABlab(69.75, 50.03, -45.64)
CIE-LCHlch(69.75, 67.72, 317.63°)
OKLaboklab(75.98% 0.1265 -0.1266)
OKLCHoklch(75.98% 0.179 315)
XYZxyz(56.1885, 40.3943, 98.5837)
Luminance0.4039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8AFE #ADFE8A
analogous
#A18AFE #DB8AFE #FE8AE7
triadic
#DB8AFE #FEDB8A #8AFEDB
tetradic
#DB8AFE #FEA18A #ADFE8A #8AE7FE
square
#DB8AFE #FEA18A #ADFE8A #8AE7FE
split-complementary
#DB8AFE #E7FE8A #8AFEA1
monochromatic
#B611FD #C84DFD #DB8AFE #EEC7FF #F6E1FF

Accessibility & contrast

On white

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

On black

9.08
#DB8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8AFE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8AFE#FFFFFF#000000##000000
##DB8AFE1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#8AADFB
Tritanopia (blue-blind)
#D99BB8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #db8afe;
/* rgb */ color: rgb(219, 138, 254);
/* oklch */ color: oklch(76.0% 0.179 315.0);
Tailwind
colors: {
  custom: {
    50: '#e8aeff',
    500: '#db8afe',
    950: '#000000',
  },
}
SCSS
$custom: #db8afe;
$custom-light: #e8aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#db8afe",
  "rgb": {
    "r": 219,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 281.897,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75979,
    "c": 0.17897,
    "h": 315
  },
  "luminance": 0.40393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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