#DB5DC7#DB5DC7

#DB5DC7 is a light, vivid purple. Relative luminance 0.270; OKLCH L 67.2% C 0.199 H 334.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#DB5DC7
RGBrgb(219, 93, 199)
HSLhsl(310, 64%, 61%)
HSVhsv(310, 58%, 86%)
CMYKcmyk(0%, 57.5%, 9.1%, 14.1%)
CIE-LABlab(58.99, 61.90, -31.85)
CIE-LCHlch(58.99, 69.62, 332.77°)
OKLaboklab(67.22% 0.1789 -0.0867)
OKLCHoklch(67.22% 0.199 334.1)
XYZxyz(43.4367, 27.0155, 56.9485)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5DC7 #5DDB71
analogous
#B05DDB #DB5DC7 #DB5D88
triadic
#DB5DC7 #C7DB5D #5DC7DB
tetradic
#DB5DC7 #DBB05D #5DDB71 #5D88DB
square
#DB5DC7 #DBB05D #5DDB71 #5D88DB
split-complementary
#DB5DC7 #88DB5D #5DDBB0
monochromatic
#9B2288 #CD2EB4 #DB5DC7 #E68FD8 #F1C1EA

Accessibility & contrast

On white

3.28
#DB5DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#DB5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5DC7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5DC7#FFFFFF#000000##000000
##DB5DC71.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#8295C4
Tritanopia (blue-blind)
#E4658A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #db5dc7;
/* rgb */ color: rgb(219, 93, 199);
/* oklch */ color: oklch(67.2% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#e991d8',
    500: '#db5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #db5dc7;
$custom-light: #e991d8;
$custom-dark: #000000;
JSON
{
  "hex": "#db5dc7",
  "rgb": {
    "r": 219,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 309.524,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67217,
    "c": 0.19882,
    "h": 334.1
  },
  "luminance": 0.27012
}

Semantic roles & 50–950 ramp

primary
#DB5DC7
secondary
#B2E2BA
accent
#CB361A
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #DB5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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