#D47AEF#D47AEF

#D47AEF is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.1% C 0.186 H 318.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D47AEF
RGBrgb(212, 122, 239)
HSLhsl(286, 79%, 71%)
HSVhsv(286, 49%, 94%)
CMYKcmyk(11.3%, 49%, 0%, 6.3%)
CIE-LABlab(65.08, 53.30, -44.81)
CIE-LCHlch(65.08, 69.63, 319.95°)
OKLaboklab(72.11% 0.1381 -0.1243)
OKLCHoklch(72.11% 0.186 318)
XYZxyz(49.6888, 34.1498, 85.6188)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47AEF #95EF7A
analogous
#997AEF #D47AEF #EF7ACF
triadic
#D47AEF #EFD47A #7AEFD4
tetradic
#D47AEF #EF997A #95EF7A #7ACFEF
square
#D47AEF #EF997A #95EF7A #7ACFEF
split-complementary
#D47AEF #CFEF7A #7AEF99
monochromatic
#AA1AD5 #C243E8 #D47AEF #E6B1F6 #F6E4FC

Accessibility & contrast

On white

2.68
#D47AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D47AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47AEF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47AEF#FFFFFF#000000##000000
##D47AEF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#D48BAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d47aef;
/* rgb */ color: rgb(212, 122, 239);
/* oklch */ color: oklch(72.1% 0.186 318.0);
Tailwind
colors: {
  custom: {
    50: '#e3a3f4',
    500: '#d47aef',
    950: '#000000',
  },
}
SCSS
$custom: #d47aef;
$custom-light: #e3a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d47aef",
  "rgb": {
    "r": 212,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 286.154,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72109,
    "c": 0.18574,
    "h": 318
  },
  "luminance": 0.34148
}

Semantic roles & 50–950 ramp

primary
#D47AEF
secondary
#DAF2D3
accent
#DB0B3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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