#DB8CFD#DB8CFD

#DB8CFD is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.2% C 0.175 H 315.0°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#DB8CFD
RGBrgb(219, 140, 253)
HSLhsl(282, 97%, 77%)
HSVhsv(282, 45%, 99%)
CMYKcmyk(13.4%, 44.7%, 0%, 0.8%)
CIE-LABlab(70.11, 48.78, -44.53)
CIE-LCHlch(70.11, 66.05, 317.61°)
OKLaboklab(76.24% 0.1236 -0.1234)
OKLCHoklch(76.24% 0.175 315)
XYZxyz(56.3184, 40.9095, 97.8391)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CFD #AEFD8C
analogous
#A38CFD #DB8CFD #FD8CE6
triadic
#DB8CFD #FDDB8C #8CFDDB
tetradic
#DB8CFD #FDA38C #AEFD8C #8CE6FD
square
#DB8CFD #FDA38C #AEFD8C #8CE6FD
split-complementary
#DB8CFD #E6FD8C #8CFDA3
monochromatic
#B514FB #C850FC #DB8CFD #EEC8FE #F6E1FE

Accessibility & contrast

On white

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

On black

9.18
#DB8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CFD
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CFD#FFFFFF#000000##000000
##DB8CFD1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#8CAEFA
Tritanopia (blue-blind)
#D99CB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8cfd;
/* rgb */ color: rgb(219, 140, 253);
/* oklch */ color: oklch(76.2% 0.175 315.0);
Tailwind
colors: {
  custom: {
    50: '#e8affe',
    500: '#db8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #db8cfd;
$custom-light: #e8affe;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cfd",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 281.947,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76235,
    "c": 0.17466,
    "h": 315
  },
  "luminance": 0.40908
}

Semantic roles & 50–950 ramp

primary
#DB8CFD
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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