#DB8CFA#DB8CFA

#DB8CFA is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.1% C 0.171 H 315.9°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#DB8CFA
RGBrgb(219, 140, 250)
HSLhsl(283, 92%, 76%)
HSVhsv(283, 44%, 98%)
CMYKcmyk(12.4%, 44%, 0%, 2%)
CIE-LABlab(69.98, 48.18, -43.10)
CIE-LCHlch(69.98, 64.64, 318.18°)
OKLaboklab(76.09% 0.1231 -0.1193)
OKLCHoklch(76.09% 0.171 315.9)
XYZxyz(55.8442, 40.7199, 95.3419)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CFA #ABFA8C
analogous
#A48CFA #DB8CFA #FA8CE2
triadic
#DB8CFA #FADB8C #8CFADB
tetradic
#DB8CFA #FAA48C #ABFA8C #8CE2FA
square
#DB8CFA #FAA48C #ABFA8C #8CE2FA
split-complementary
#DB8CFA #E2FA8C #8CFAA4
monochromatic
#B617F5 #C951F7 #DB8CFA #EDC7FD #F6E2FE

Accessibility & contrast

On white

2.30
#DB8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#DB8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CFA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CFA#FFFFFF#000000##000000
##DB8CFA1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#DA9BB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8cfa;
/* rgb */ color: rgb(219, 140, 250);
/* oklch */ color: oklch(76.1% 0.171 315.9);
Tailwind
colors: {
  custom: {
    50: '#e8affc',
    500: '#db8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #db8cfa;
$custom-light: #e8affc;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cfa",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 283.091,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76092,
    "c": 0.17144,
    "h": 315.9
  },
  "luminance": 0.40718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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