#D47AEC#D47AEC

#D47AEC is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.0% C 0.183 H 318.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D47AEC
RGBrgb(212, 122, 236)
HSLhsl(287, 75%, 70%)
HSVhsv(287, 48%, 93%)
CMYKcmyk(10.2%, 48.3%, 0%, 7.5%)
CIE-LABlab(64.94, 52.71, -43.37)
CIE-LCHlch(64.94, 68.26, 320.55°)
OKLaboklab(71.96% 0.1377 -0.1201)
OKLCHoklch(71.96% 0.183 318.9)
XYZxyz(49.2492, 33.9740, 83.3040)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47AEC #92EC7A
analogous
#9B7AEC #D47AEC #EC7ACB
triadic
#D47AEC #ECD47A #7AECD4
tetradic
#D47AEC #EC9B7A #92EC7A #7ACBEC
square
#D47AEC #EC9B7A #92EC7A #7ACBEC
split-complementary
#D47AEC #CBEC7A #7AEC9B
monochromatic
#A91DCE #C344E4 #D47AEC #E5B0F4 #F6E4FB

Accessibility & contrast

On white

2.69
#D47AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D47AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47AEC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47AEC#FFFFFF#000000##000000
##D47AEC1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#D48AA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d47aec;
/* rgb */ color: rgb(212, 122, 236);
/* oklch */ color: oklch(72.0% 0.183 318.9);
Tailwind
colors: {
  custom: {
    50: '#e3a3f2',
    500: '#d47aec',
    950: '#000000',
  },
}
SCSS
$custom: #d47aec;
$custom-light: #e3a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d47aec",
  "rgb": {
    "r": 212,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 287.368,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7196,
    "c": 0.18269,
    "h": 318.9
  },
  "luminance": 0.33972
}

Semantic roles & 50–950 ramp

primary
#D47AEC
secondary
#D8F1D1
accent
#D70E39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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