#DB7FE7#DB7FE7

#DB7FE7 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.173 H 322.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DB7FE7
RGBrgb(219, 127, 231)
HSLhsl(293, 68%, 70%)
HSVhsv(293, 45%, 91%)
CMYKcmyk(5.2%, 45%, 0%, 9.4%)
CIE-LABlab(66.53, 51.17, -38.06)
CIE-LCHlch(66.53, 63.77, 323.36°)
OKLaboklab(73.25% 0.1381 -0.1047)
OKLCHoklch(73.25% 0.173 322.8)
XYZxyz(51.2251, 36.0105, 79.8382)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FE7 #8BE77F
analogous
#A77FE7 #DB7FE7 #E77FBF
triadic
#DB7FE7 #E7DB7F #7FE7DB
tetradic
#DB7FE7 #E7A77F #8BE77F #7FBFE7
square
#DB7FE7 #E7A77F #8BE77F #7FBFE7
split-complementary
#DB7FE7 #BFE77F #7FE7A7
monochromatic
#B425C6 #CD4BDD #DB7FE7 #E9B3F1 #F8E5FA

Accessibility & contrast

On white

2.56
#DB7FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DB7FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FE7
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FE7#FFFFFF#000000##000000
##DB7FE71.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#8CA6E4
Tritanopia (blue-blind)
#DE8BA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7fe7;
/* rgb */ color: rgb(219, 127, 231);
/* oklch */ color: oklch(73.2% 0.173 322.8);
Tailwind
colors: {
  custom: {
    50: '#e8a7ef',
    500: '#db7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #db7fe7;
$custom-light: #e8a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fe7",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 293.077,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73245,
    "c": 0.17327,
    "h": 322.8
  },
  "luminance": 0.36008
}

Semantic roles & 50–950 ramp

primary
#DB7FE7
secondary
#D6EFD2
accent
#D0152B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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