#D47DEC#D47DEC

#D47DEC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.178 H 318.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D47DEC
RGBrgb(212, 125, 236)
HSLhsl(287, 74%, 71%)
HSVhsv(287, 47%, 93%)
CMYKcmyk(10.2%, 47%, 0%, 7.5%)
CIE-LABlab(65.53, 51.18, -42.44)
CIE-LCHlch(65.53, 66.49, 320.33°)
OKLaboklab(72.4% 0.1336 -0.1174)
OKLCHoklch(72.4% 0.178 318.7)
XYZxyz(49.6233, 34.7221, 83.4287)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47DEC #95EC7D
analogous
#9C7DEC #D47DEC #EC7DCC
triadic
#D47DEC #ECD47D #7DECD4
tetradic
#D47DEC #EC9C7D #95EC7D #7DCCEC
square
#D47DEC #EC9C7D #95EC7D #7DCCEC
split-complementary
#D47DEC #CCEC7D #7DEC9C
monochromatic
#AA1ED0 #C248E4 #D47DEC #E6B2F4 #F6E4FB

Accessibility & contrast

On white

2.64
#D47DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D47DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47DEC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47DEC#FFFFFF#000000##000000
##D47DEC1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#D48CAA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d47dec;
/* rgb */ color: rgb(212, 125, 236);
/* oklch */ color: oklch(72.4% 0.178 318.7);
Tailwind
colors: {
  custom: {
    50: '#e3a5f2',
    500: '#d47dec',
    950: '#000000',
  },
}
SCSS
$custom: #d47dec;
$custom-light: #e3a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d47dec",
  "rgb": {
    "r": 212,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 287.027,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72398,
    "c": 0.17786,
    "h": 318.7
  },
  "luminance": 0.3472
}

Semantic roles & 50–950 ramp

primary
#D47DEC
secondary
#DAF1D3
accent
#D70F3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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