#DB7CF2#DB7CF2

#DB7CF2 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.189 H 319.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF2
RGBrgb(219, 124, 242)
HSLhsl(288, 82%, 72%)
HSVhsv(288, 49%, 95%)
CMYKcmyk(9.5%, 48.8%, 0%, 5.1%)
CIE-LABlab(66.43, 54.78, -44.27)
CIE-LCHlch(66.43, 70.44, 321.06°)
OKLaboklab(73.34% 0.1438 -0.1226)
OKLCHoklch(73.34% 0.189 319.6)
XYZxyz(52.4460, 35.8882, 88.1517)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF2 #93F27C
analogous
#A07CF2 #DB7CF2 #F27CCE
triadic
#DB7CF2 #F2DB7C #7CF2DB
tetradic
#DB7CF2 #F2A07C #93F27C #7CCEF2
square
#DB7CF2 #F2A07C #93F27C #7CCEF2
split-complementary
#DB7CF2 #CEF27C #7CF2A0
monochromatic
#B716DE #CC44EC #DB7CF2 #EAB4F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.18
#DB7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF2#FFFFFF#000000##000000
##DB7CF21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#DC8CAC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7cf2;
/* rgb */ color: rgb(219, 124, 242);
/* oklch */ color: oklch(73.3% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#e8a5f7',
    500: '#db7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf2;
$custom-light: #e8a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf2",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 288.305,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73336,
    "c": 0.18899,
    "h": 319.6
  },
  "luminance": 0.35886
}

Semantic roles & 50–950 ramp

primary
#DB7CF2
secondary
#DCF4D6
accent
#DE0731
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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