#DB7FE3#DB7FE3

#DB7FE3 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.169 H 324.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DB7FE3
RGBrgb(219, 127, 227)
HSLhsl(295, 64%, 69%)
HSVhsv(295, 44%, 89%)
CMYKcmyk(3.5%, 44.1%, 0%, 11%)
CIE-LABlab(66.36, 50.43, -36.11)
CIE-LCHlch(66.36, 62.02, 324.39°)
OKLaboklab(73.06% 0.1374 -0.0991)
OKLCHoklch(73.06% 0.169 324.2)
XYZxyz(50.6666, 35.7871, 76.8969)
Luminance0.3579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FE3 #87E37F
analogous
#A97FE3 #DB7FE3 #E37FB9
triadic
#DB7FE3 #E3DB7F #7FE3DB
tetradic
#DB7FE3 #E3A97F #87E37F #7FB9E3
square
#DB7FE3 #E3A97F #87E37F #7FB9E3
split-complementary
#DB7FE3 #B9E37F #7FE3A9
monochromatic
#B22ABE #CD4DD8 #DB7FE3 #E9B1EE #F7E3F9

Accessibility & contrast

On white

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

On black

8.16
#DB7FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FE3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FE3#FFFFFF#000000##000000
##DB7FE31.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#8DA5E0
Tritanopia (blue-blind)
#DF8AA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7fe3;
/* rgb */ color: rgb(219, 127, 227);
/* oklch */ color: oklch(73.1% 0.169 324.2);
Tailwind
colors: {
  custom: {
    50: '#e8a6ec',
    500: '#db7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #db7fe3;
$custom-light: #e8a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fe3",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 295.2,
    "s": 64.103,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.16939,
    "h": 324.2
  },
  "luminance": 0.35785
}

Semantic roles & 50–950 ramp

primary
#DB7FE3
secondary
#D3EDD0
accent
#CC1A28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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