#DB7BF2#DB7BF2

#DB7BF2 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.2% C 0.191 H 319.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#DB7BF2
RGBrgb(219, 123, 242)
HSLhsl(288, 82%, 72%)
HSVhsv(288, 49%, 95%)
CMYKcmyk(9.5%, 49.2%, 0%, 5.1%)
CIE-LABlab(66.24, 55.28, -44.58)
CIE-LCHlch(66.24, 71.02, 321.12°)
OKLaboklab(73.19% 0.1452 -0.1234)
OKLCHoklch(73.19% 0.191 319.6)
XYZxyz(52.3214, 35.6388, 88.1101)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BF2 #92F27B
analogous
#A07BF2 #DB7BF2 #F27BCE
triadic
#DB7BF2 #F2DB7B #7BF2DB
tetradic
#DB7BF2 #F2A07B #92F27B #7BCEF2
square
#DB7BF2 #F2A07B #92F27B #7BCEF2
split-complementary
#DB7BF2 #CEF27B #7BF2A0
monochromatic
#B616DD #CC43ED #DB7BF2 #EAB3F7 #F7E3FC

Accessibility & contrast

On white

2.58
#DB7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#DB7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BF2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BF2#FFFFFF#000000##000000
##DB7BF21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#DC8BAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7bf2;
/* rgb */ color: rgb(219, 123, 242);
/* oklch */ color: oklch(73.2% 0.191 319.6);
Tailwind
colors: {
  custom: {
    50: '#e8a4f7',
    500: '#db7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #db7bf2;
$custom-light: #e8a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bf2",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 288.403,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73194,
    "c": 0.19056,
    "h": 319.6
  },
  "luminance": 0.35637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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