#DB8BF5#DB8BF5

#DB8BF5 is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.7% C 0.168 H 317.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#DB8BF5
RGBrgb(219, 139, 245)
HSLhsl(285, 84%, 75%)
HSVhsv(285, 43%, 96%)
CMYKcmyk(10.6%, 43.3%, 0%, 3.9%)
CIE-LABlab(69.55, 47.70, -41.03)
CIE-LCHlch(69.55, 62.92, 319.30°)
OKLaboklab(75.7% 0.1237 -0.1133)
OKLCHoklch(75.7% 0.168 317.5)
XYZxyz(54.9251, 40.1195, 91.2190)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8BF5 #A5F58B
analogous
#A68BF5 #DB8BF5 #F58BDA
triadic
#DB8BF5 #F5DB8B #8BF5DB
tetradic
#DB8BF5 #F5A68B #A5F58B #8BDAF5
square
#DB8BF5 #F5A68B #A5F58B #8BDAF5
split-complementary
#DB8BF5 #DAF58B #8BF5A6
monochromatic
#B81AEB #CA53F0 #DB8BF5 #ECC3FA #F6E3FD

Accessibility & contrast

On white

2.33
#DB8BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#DB8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8BF5
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8BF5#FFFFFF#000000##000000
##DB8BF51.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5F9
Deuteranopia (green-blind)
#8FADF2
Tritanopia (blue-blind)
#DB99B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #db8bf5;
/* rgb */ color: rgb(219, 139, 245);
/* oklch */ color: oklch(75.7% 0.168 317.5);
Tailwind
colors: {
  custom: {
    50: '#e8aff9',
    500: '#db8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #db8bf5;
$custom-light: #e8aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#db8bf5",
  "rgb": {
    "r": 219,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 285.283,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75703,
    "c": 0.16775,
    "h": 317.5
  },
  "luminance": 0.40118
}

Semantic roles & 50–950 ramp

primary
#DB8BF5
secondary
#DEF5D6
accent
#E1053B
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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