#DB47E2#DB47E2

#DB47E2 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.3% C 0.249 H 326.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#DB47E2
RGBrgb(219, 71, 226)
HSLhsl(297, 73%, 58%)
HSVhsv(297, 69%, 89%)
CMYKcmyk(3.1%, 68.6%, 0%, 11.4%)
CIE-LABlab(57.13, 75.02, -50.06)
CIE-LCHlch(57.13, 90.19, 326.29°)
OKLaboklab(66.29% 0.2061 -0.139)
OKLCHoklch(66.29% 0.249 326)
XYZxyz(45.1932, 25.0605, 74.3936)
Luminance0.2506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB47E2 #4EE247
analogous
#8D47E2 #DB47E2 #E2479C
triadic
#DB47E2 #E2DB47 #47E2DB
tetradic
#DB47E2 #E28D47 #4EE247 #479CE2
square
#DB47E2 #E28D47 #4EE247 #479CE2
split-complementary
#DB47E2 #9CE247 #47E28D
monochromatic
#911897 #C420CC #DB47E2 #E57CEA #F0B1F3

Accessibility & contrast

On white

3.49
#DB47E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#DB47E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB47E2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB47E2#FFFFFF#000000##000000
##DB47E21.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#E05F90
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db47e2;
/* rgb */ color: rgb(219, 71, 226);
/* oklch */ color: oklch(66.3% 0.249 326.0);
Tailwind
colors: {
  custom: {
    50: '#ea87ec',
    500: '#db47e2',
    950: '#000000',
  },
}
SCSS
$custom: #db47e2;
$custom-light: #ea87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#db47e2",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 297.29,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.24857,
    "h": 326
  },
  "luminance": 0.25058
}

Semantic roles & 50–950 ramp

primary
#DB47E2
secondary
#A6E1A4
accent
#EF3841
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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