#DB7CF1#DB7CF1

#DB7CF1 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.188 H 319.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF1
RGBrgb(219, 124, 241)
HSLhsl(289, 81%, 72%)
HSVhsv(289, 49%, 95%)
CMYKcmyk(9.1%, 48.5%, 0%, 5.5%)
CIE-LABlab(66.39, 54.59, -43.80)
CIE-LCHlch(66.39, 69.99, 321.26°)
OKLaboklab(73.29% 0.1437 -0.1212)
OKLCHoklch(73.29% 0.188 319.9)
XYZxyz(52.2963, 35.8282, 87.3628)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF1 #92F17C
analogous
#A17CF1 #DB7CF1 #F17CCD
triadic
#DB7CF1 #F1DB7C #7CF1DB
tetradic
#DB7CF1 #F1A17C #92F17C #7CCDF1
square
#DB7CF1 #F1A17C #92F17C #7CCDF1
split-complementary
#DB7CF1 #CDF17C #7CF1A1
monochromatic
#B617DB #CC45EB #DB7CF1 #EAB3F7 #F7E3FC

Accessibility & contrast

On white

2.57
#DB7CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DB7CF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF1
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF1#FFFFFF#000000##000000
##DB7CF11.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF5
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#DC8CAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7cf1;
/* rgb */ color: rgb(219, 124, 241);
/* oklch */ color: oklch(73.3% 0.188 319.9);
Tailwind
colors: {
  custom: {
    50: '#e8a5f6',
    500: '#db7cf1',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf1;
$custom-light: #e8a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf1",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 241
  },
  "hsl": {
    "h": 288.718,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73287,
    "c": 0.18799,
    "h": 319.9
  },
  "luminance": 0.35826
}

Semantic roles & 50–950 ramp

primary
#DB7CF1
secondary
#DBF3D5
accent
#DD0830
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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