#DB8CD2#DB8CD2

#DB8CD2 is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.4% C 0.131 H 330.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#DB8CD2
RGBrgb(219, 140, 210)
HSLhsl(307, 52%, 70%)
HSVhsv(307, 36%, 86%)
CMYKcmyk(0%, 36.1%, 4.1%, 14.1%)
CIE-LABlab(68.37, 40.58, -23.58)
CIE-LCHlch(68.37, 46.93, 329.84°)
OKLaboklab(74.35% 0.1146 -0.0637)
OKLCHoklch(74.35% 0.131 330.9)
XYZxyz(50.2237, 38.4717, 65.7406)
Luminance0.3847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CD2 #8CDB95
analogous
#BC8CDB #DB8CD2 #DB8CAB
triadic
#DB8CD2 #D2DB8C #8CD2DB
tetradic
#DB8CD2 #DBBC8C #8CDB95 #8CABDB
square
#DB8CD2 #DBBC8C #8CDB95 #8CABDB
split-complementary
#DB8CD2 #ABDB8C #8CDBBC
monochromatic
#B438A6 #CC5DC0 #DB8CD2 #EABBE4 #F8E8F6

Accessibility & contrast

On white

2.42
#DB8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#DB8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CD2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CD2#FFFFFF#000000##000000
##DB8CD21.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D5
Deuteranopia (green-blind)
#9DABCF
Tritanopia (blue-blind)
#E191A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db8cd2;
/* rgb */ color: rgb(219, 140, 210);
/* oklch */ color: oklch(74.4% 0.131 330.9);
Tailwind
colors: {
  custom: {
    50: '#e7afe0',
    500: '#db8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #db8cd2;
$custom-light: #e7afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cd2",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 306.835,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.13115,
    "h": 330.9
  },
  "luminance": 0.38469
}

Semantic roles & 50–950 ramp

primary
#DB8CD2
secondary
#D7ECD9
accent
#C03726
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DB8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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