#DB8CFB#DB8CFB

#DB8CFB is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.1% C 0.173 H 315.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#DB8CFB
RGBrgb(219, 140, 251)
HSLhsl(283, 93%, 77%)
HSVhsv(283, 44%, 98%)
CMYKcmyk(12.7%, 44.2%, 0%, 1.6%)
CIE-LABlab(70.02, 48.38, -43.58)
CIE-LCHlch(70.02, 65.11, 317.99°)
OKLaboklab(76.14% 0.1233 -0.1207)
OKLCHoklch(76.14% 0.173 315.6)
XYZxyz(56.0014, 40.7828, 96.1699)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CFB #ACFB8C
analogous
#A48CFB #DB8CFB #FB8CE3
triadic
#DB8CFB #FBDB8C #8CFBDB
tetradic
#DB8CFB #FBA48C #ACFB8C #8CE3FB
square
#DB8CFB #FBA48C #ACFB8C #8CE3FB
split-complementary
#DB8CFB #E3FB8C #8CFBA4
monochromatic
#B616F7 #C851F9 #DB8CFB #EEC7FD #F6E1FE

Accessibility & contrast

On white

2.29
#DB8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#DB8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CFB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CFB#FFFFFF#000000##000000
##DB8CFB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#8DADF8
Tritanopia (blue-blind)
#D99CB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8cfb;
/* rgb */ color: rgb(219, 140, 251);
/* oklch */ color: oklch(76.1% 0.173 315.6);
Tailwind
colors: {
  custom: {
    50: '#e8affd',
    500: '#db8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #db8cfb;
$custom-light: #e8affd;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cfb",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 282.703,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76139,
    "c": 0.17251,
    "h": 315.6
  },
  "luminance": 0.40781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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