#DB7FF3#DB7FF3

#DB7FF3 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.8% C 0.185 H 319.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DB7FF3
RGBrgb(219, 127, 243)
HSLhsl(288, 83%, 73%)
HSVhsv(288, 48%, 95%)
CMYKcmyk(9.9%, 47.7%, 0%, 4.7%)
CIE-LABlab(67.06, 53.47, -43.84)
CIE-LCHlch(67.06, 69.15, 320.65°)
OKLaboklab(73.82% 0.1399 -0.1214)
OKLCHoklch(73.82% 0.185 319.1)
XYZxyz(52.9783, 36.7118, 89.0720)
Luminance0.3671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FF3 #97F37F
analogous
#A17FF3 #DB7FF3 #F37FD1
triadic
#DB7FF3 #F3DB7F #7FF3DB
tetradic
#DB7FF3 #F3A17F #97F37F #7FD1F3
square
#DB7FF3 #F3A17F #97F37F #7FD1F3
split-complementary
#DB7FF3 #D1F37F #7FF3A1
monochromatic
#B815E2 #CB47EE #DB7FF3 #EBB7F8 #F7E3FC

Accessibility & contrast

On white

2.52
#DB7FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DB7FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FF3
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FF3#FFFFFF#000000##000000
##DB7FF31.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#86A6F0
Tritanopia (blue-blind)
#DC8FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ff3;
/* rgb */ color: rgb(219, 127, 243);
/* oklch */ color: oklch(73.8% 0.185 319.1);
Tailwind
colors: {
  custom: {
    50: '#e8a7f7',
    500: '#db7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #db7ff3;
$custom-light: #e8a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ff3",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 287.586,
    "s": 82.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73815,
    "c": 0.1852,
    "h": 319.1
  },
  "luminance": 0.3671
}

Semantic roles & 50–950 ramp

primary
#DB7FF3
secondary
#DDF4D7
accent
#DF0633
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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