#DB8BFB#DB8BFB

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

Color values

HEX#DB8BFB
RGBrgb(219, 139, 251)
HSLhsl(283, 93%, 76%)
HSVhsv(283, 45%, 98%)
CMYKcmyk(12.7%, 44.6%, 0%, 1.6%)
CIE-LABlab(69.82, 48.90, -43.90)
CIE-LCHlch(69.82, 65.71, 318.09°)
OKLaboklab(75.99% 0.1247 -0.1216)
OKLCHoklch(75.99% 0.174 315.7)
XYZxyz(55.8560, 40.4919, 96.1214)
Luminance0.4049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8BFB #ABFB8B
analogous
#A38BFB #DB8BFB #FB8BE3
triadic
#DB8BFB #FBDB8B #8BFBDB
tetradic
#DB8BFB #FBA38B #ABFB8B #8BE3FB
square
#DB8BFB #FBA38B #ABFB8B #8BE3FB
split-complementary
#DB8BFB #E3FB8B #8BFBA3
monochromatic
#B615F7 #C950F9 #DB8BFB #EDC6FD #F6E1FE

Accessibility & contrast

On white

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

On black

9.10
#DB8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8BFB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8BFB#FFFFFF#000000##000000
##DB8BFB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#D99BB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8bfb;
/* rgb */ color: rgb(219, 139, 251);
/* oklch */ color: oklch(76.0% 0.174 315.7);
Tailwind
colors: {
  custom: {
    50: '#e8affd',
    500: '#db8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #db8bfb;
$custom-light: #e8affd;
$custom-dark: #000000;
JSON
{
  "hex": "#db8bfb",
  "rgb": {
    "r": 219,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 282.857,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75986,
    "c": 0.17414,
    "h": 315.7
  },
  "luminance": 0.4049
}

Semantic roles & 50–950 ramp

primary
#DB8BFB
secondary
#DEF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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