#DB8AFA#DB8AFA

#DB8AFA is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.8% C 0.175 H 316.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#DB8AFA
RGBrgb(219, 138, 250)
HSLhsl(283, 92%, 76%)
HSVhsv(283, 45%, 98%)
CMYKcmyk(12.4%, 44.8%, 0%, 2%)
CIE-LABlab(69.57, 49.22, -43.74)
CIE-LCHlch(69.57, 65.85, 318.37°)
OKLaboklab(75.79% 0.1259 -0.1211)
OKLCHoklch(75.79% 0.175 316.1)
XYZxyz(55.5546, 40.1407, 95.2454)
Luminance0.4014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8AFA #A9FA8A
analogous
#A38AFA #DB8AFA #FA8AE1
triadic
#DB8AFA #FADB8A #8AFADB
tetradic
#DB8AFA #FAA38A #A9FA8A #8AE1FA
square
#DB8AFA #FAA38A #A9FA8A #8AE1FA
split-complementary
#DB8AFA #E1FA8A #8AFAA3
monochromatic
#B715F5 #C94FF7 #DB8AFA #EDC5FD #F6E2FE

Accessibility & contrast

On white

2.33
#DB8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#DB8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8AFA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8AFA#FFFFFF#000000##000000
##DB8AFA1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#8CACF7
Tritanopia (blue-blind)
#DA9AB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #db8afa;
/* rgb */ color: rgb(219, 138, 250);
/* oklch */ color: oklch(75.8% 0.175 316.1);
Tailwind
colors: {
  custom: {
    50: '#e8aefc',
    500: '#db8afa',
    950: '#000000',
  },
}
SCSS
$custom: #db8afa;
$custom-light: #e8aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#db8afa",
  "rgb": {
    "r": 219,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 283.393,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75786,
    "c": 0.17469,
    "h": 316.1
  },
  "luminance": 0.40139
}

Semantic roles & 50–950 ramp

primary
#DB8AFA
secondary
#DEF6D5
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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