#DB8CF8#DB8CF8

#DB8CF8 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.0% C 0.169 H 316.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#DB8CF8
RGBrgb(219, 140, 248)
HSLhsl(284, 89%, 76%)
HSVhsv(284, 44%, 97%)
CMYKcmyk(11.7%, 43.5%, 0%, 2.7%)
CIE-LABlab(69.89, 47.78, -42.15)
CIE-LCHlch(69.89, 63.71, 318.58°)
OKLaboklab(76% 0.1228 -0.1165)
OKLCHoklch(76% 0.169 316.5)
XYZxyz(55.5323, 40.5951, 93.6991)
Luminance0.4059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CF8 #A9F88C
analogous
#A58CF8 #DB8CF8 #F88CDF
triadic
#DB8CF8 #F8DB8C #8CF8DB
tetradic
#DB8CF8 #F8A58C #A9F88C #8CDFF8
square
#DB8CF8 #F8A58C #A9F88C #8CDFF8
split-complementary
#DB8CF8 #DFF88C #8CF8A5
monochromatic
#B719F1 #C952F4 #DB8CF8 #EDC6FC #F6E2FD

Accessibility & contrast

On white

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

On black

9.12
#DB8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CF8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CF8#FFFFFF#000000##000000
##DB8CF81.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#DA9BB6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8cf8;
/* rgb */ color: rgb(219, 140, 248);
/* oklch */ color: oklch(76.0% 0.169 316.5);
Tailwind
colors: {
  custom: {
    50: '#e8affb',
    500: '#db8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #db8cf8;
$custom-light: #e8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cf8",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 283.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.1693,
    "h": 316.5
  },
  "luminance": 0.40594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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