#D47AF2#D47AF2

#D47AF2 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.3% C 0.189 H 317.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D47AF2
RGBrgb(212, 122, 242)
HSLhsl(285, 82%, 71%)
HSVhsv(285, 50%, 95%)
CMYKcmyk(12.4%, 49.6%, 0%, 5.1%)
CIE-LABlab(65.22, 53.89, -46.24)
CIE-LCHlch(65.22, 71.01, 319.37°)
OKLaboklab(72.26% 0.1384 -0.1284)
OKLCHoklch(72.26% 0.189 317.2)
XYZxyz(50.1356, 34.3286, 87.9723)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47AF2 #98F27A
analogous
#987AF2 #D47AF2 #F27AD4
triadic
#D47AF2 #F2D47A #7AF2D4
tetradic
#D47AF2 #F2987A #98F27A #7AD4F2
square
#D47AF2 #F2987A #98F27A #7AD4F2
split-complementary
#D47AF2 #D4F27A #7AF298
monochromatic
#AA16DC #C242ED #D47AF2 #E6B2F7 #F6E3FC

Accessibility & contrast

On white

2.67
#D47AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#D47AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47AF2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47AF2#FFFFFF#000000##000000
##D47AF21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F6
Deuteranopia (green-blind)
#7EA1EF
Tritanopia (blue-blind)
#D38CAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d47af2;
/* rgb */ color: rgb(212, 122, 242);
/* oklch */ color: oklch(72.3% 0.189 317.2);
Tailwind
colors: {
  custom: {
    50: '#e3a3f7',
    500: '#d47af2',
    950: '#000000',
  },
}
SCSS
$custom: #d47af2;
$custom-light: #e3a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d47af2",
  "rgb": {
    "r": 212,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 285,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7226,
    "c": 0.18882,
    "h": 317.2
  },
  "luminance": 0.34327
}

Semantic roles & 50–950 ramp

primary
#D47AF2
secondary
#DCF3D4
accent
#DF073D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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