#DB71EA#DB71EA

#DB71EA is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.4% C 0.198 H 322.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#DB71EA
RGBrgb(219, 113, 234)
HSLhsl(293, 74%, 68%)
HSVhsv(293, 52%, 92%)
CMYKcmyk(6.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(64.01, 58.67, -43.66)
CIE-LCHlch(64.01, 73.14, 323.34°)
OKLaboklab(71.42% 0.1575 -0.1207)
OKLCHoklch(71.42% 0.198 322.5)
XYZxyz(49.9683, 32.8132, 81.5275)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71EA #80EA71
analogous
#9E71EA #DB71EA #EA71BC
triadic
#DB71EA #EADB71 #71EADB
tetradic
#DB71EA #EA9E71 #80EA71 #71BCEA
square
#DB71EA #EA9E71 #80EA71 #71BCEA
split-complementary
#DB71EA #BCEA71 #71EA9E
monochromatic
#AF1DC4 #CD3CE2 #DB71EA #E9A6F2 #F6DCFA

Accessibility & contrast

On white

2.78
#DB71EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#DB71EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71EA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71EA#FFFFFF#000000##000000
##DB71EA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#809FE7
Tritanopia (blue-blind)
#DE81A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db71ea;
/* rgb */ color: rgb(219, 113, 234);
/* oklch */ color: oklch(71.4% 0.198 322.5);
Tailwind
colors: {
  custom: {
    50: '#e99ef1',
    500: '#db71ea',
    950: '#000000',
  },
}
SCSS
$custom: #db71ea;
$custom-light: #e99ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#db71ea",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 292.562,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.19848,
    "h": 322.5
  },
  "luminance": 0.32811
}

Semantic roles & 50–950 ramp

primary
#DB71EA
secondary
#CDEEC9
accent
#D60F28
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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