#D47AFE#D47AFE

#D47AFE is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 72.9% C 0.201 H 313.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D47AFE
RGBrgb(212, 122, 254)
HSLhsl(281, 99%, 74%)
HSVhsv(281, 52%, 100%)
CMYKcmyk(16.5%, 52%, 0%, 0.4%)
CIE-LABlab(65.81, 56.32, -51.91)
CIE-LCHlch(65.81, 76.59, 317.33°)
OKLaboklab(72.88% 0.1396 -0.1449)
OKLCHoklch(72.88% 0.201 313.9)
XYZxyz(51.9974, 35.0733, 97.7774)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47AFE #A4FE7A
analogous
#927AFE #D47AFE #FE7AE6
triadic
#D47AFE #FED47A #7AFED4
tetradic
#D47AFE #FE927A #A4FE7A #7AE6FE
square
#D47AFE #FE927A #A4FE7A #7AE6FE
split-complementary
#D47AFE #E6FE7A #7AFE92
monochromatic
#AC02FC #C03DFE #D47AFE #E8B7FE #F5E1FF

Accessibility & contrast

On white

2.62
#D47AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D47AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47AFE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47AFE#FFFFFF#000000##000000
##D47AFE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#D18FB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d47afe;
/* rgb */ color: rgb(212, 122, 254);
/* oklch */ color: oklch(72.9% 0.201 313.9);
Tailwind
colors: {
  custom: {
    50: '#e4a3ff',
    500: '#d47afe',
    950: '#000000',
  },
}
SCSS
$custom: #d47afe;
$custom-light: #e4a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d47afe",
  "rgb": {
    "r": 212,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 280.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.20122,
    "h": 313.9
  },
  "luminance": 0.35072
}

Semantic roles & 50–950 ramp

primary
#D47AFE
secondary
#DFF7D4
accent
#E60049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D47AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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