#DB8DFC#DB8DFC

#DB8DFC is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.3% C 0.172 H 315.2°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#DB8DFC
RGBrgb(219, 141, 252)
HSLhsl(282, 95%, 77%)
HSVhsv(282, 44%, 99%)
CMYKcmyk(13.1%, 44%, 0%, 1.2%)
CIE-LABlab(70.27, 48.06, -43.73)
CIE-LCHlch(70.27, 64.98, 317.70°)
OKLaboklab(76.34% 0.1221 -0.1211)
OKLCHoklch(76.34% 0.172 315.2)
XYZxyz(56.3063, 41.1396, 97.0512)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8DFC #AEFC8D
analogous
#A48DFC #DB8DFC #FC8DE6
triadic
#DB8DFC #FCDB8D #8DFCDB
tetradic
#DB8DFC #FCA48D #AEFC8D #8DE6FC
square
#DB8DFC #FCA48D #AEFC8D #8DE6FC
split-complementary
#DB8DFC #E6FC8D #8DFCA4
monochromatic
#B516F9 #C851FA #DB8DFC #EEC9FE #F6E1FE

Accessibility & contrast

On white

2.28
#DB8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#DB8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8DFC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8DFC#FFFFFF#000000##000000
##DB8DFC1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#D99DB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db8dfc;
/* rgb */ color: rgb(219, 141, 252);
/* oklch */ color: oklch(76.3% 0.172 315.2);
Tailwind
colors: {
  custom: {
    50: '#e8b0fe',
    500: '#db8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #db8dfc;
$custom-light: #e8b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db8dfc",
  "rgb": {
    "r": 219,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 282.162,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76341,
    "c": 0.17196,
    "h": 315.2
  },
  "luminance": 0.41138
}

Semantic roles & 50–950 ramp

primary
#DB8DFC
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #DB8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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