#DB8CFC#DB8CFC

#DB8CFC is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.2% C 0.174 H 315.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#DB8CFC
RGBrgb(219, 140, 252)
HSLhsl(282, 95%, 77%)
HSVhsv(282, 44%, 99%)
CMYKcmyk(13.1%, 44.4%, 0%, 1.2%)
CIE-LABlab(70.07, 48.58, -44.05)
CIE-LCHlch(70.07, 65.58, 317.80°)
OKLaboklab(76.19% 0.1235 -0.122)
OKLCHoklch(76.19% 0.174 315.3)
XYZxyz(56.1595, 40.8460, 97.0023)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CFC #ADFC8C
analogous
#A38CFC #DB8CFC #FC8CE5
triadic
#DB8CFC #FCDB8C #8CFCDB
tetradic
#DB8CFC #FCA38C #ADFC8C #8CE5FC
square
#DB8CFC #FCA38C #ADFC8C #8CE5FC
split-complementary
#DB8CFC #E5FC8C #8CFCA3
monochromatic
#B615F9 #C850FA #DB8CFC #EEC8FE #F6E1FE

Accessibility & contrast

On white

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

On black

9.17
#DB8CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CFC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CFC#FFFFFF#000000##000000
##DB8CFC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#8CAEF9
Tritanopia (blue-blind)
#D99CB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8cfc;
/* rgb */ color: rgb(219, 140, 252);
/* oklch */ color: oklch(76.2% 0.174 315.3);
Tailwind
colors: {
  custom: {
    50: '#e8affe',
    500: '#db8cfc',
    950: '#000000',
  },
}
SCSS
$custom: #db8cfc;
$custom-light: #e8affe;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cfc",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 282.321,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76187,
    "c": 0.17359,
    "h": 315.3
  },
  "luminance": 0.40845
}

Semantic roles & 50–950 ramp

primary
#DB8CFC
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB8CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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