#DB8CD7#DB8CD7

#DB8CD7 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.6% C 0.136 H 328.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#DB8CD7
RGBrgb(219, 140, 215)
HSLhsl(303, 52%, 70%)
HSVhsv(303, 36%, 86%)
CMYKcmyk(0%, 36.1%, 1.8%, 14.1%)
CIE-LABlab(68.55, 41.47, -26.07)
CIE-LCHlch(68.55, 48.99, 327.85°)
OKLaboklab(74.55% 0.1159 -0.0707)
OKLCHoklch(74.55% 0.136 328.6)
XYZxyz(50.8564, 38.7247, 69.0726)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CD7 #8CDB90
analogous
#B78CDB #DB8CD7 #DB8CAF
triadic
#DB8CD7 #D7DB8C #8CD7DB
tetradic
#DB8CD7 #DBB78C #8CDB90 #8CAFDB
square
#DB8CD7 #DBB78C #8CDB90 #8CAFDB
split-complementary
#DB8CD7 #AFDB8C #8CDBB7
monochromatic
#B438AE #CC5DC7 #DB8CD7 #EABBE7 #F8E8F7

Accessibility & contrast

On white

2.40
#DB8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#DB8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CD7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CD7#FFFFFF#000000##000000
##DB8CD71.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A1DA
Deuteranopia (green-blind)
#9CABD4
Tritanopia (blue-blind)
#E092A8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #db8cd7;
/* rgb */ color: rgb(219, 140, 215);
/* oklch */ color: oklch(74.6% 0.136 328.6);
Tailwind
colors: {
  custom: {
    50: '#e7afe3',
    500: '#db8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #db8cd7;
$custom-light: #e7afe3;
$custom-dark: #000000;
JSON
{
  "hex": "#db8cd7",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 303.038,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74551,
    "c": 0.13578,
    "h": 328.6
  },
  "luminance": 0.38723
}

Semantic roles & 50–950 ramp

primary
#DB8CD7
secondary
#D7ECD8
accent
#C02E26
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DB8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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