#D47AFA#D47AFA

#D47AFA is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.7% C 0.197 H 315.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#D47AFA
RGBrgb(212, 122, 250)
HSLhsl(282, 93%, 73%)
HSVhsv(282, 51%, 98%)
CMYKcmyk(15.2%, 51.2%, 0%, 2%)
CIE-LABlab(65.61, 55.50, -50.03)
CIE-LCHlch(65.61, 74.72, 317.97°)
OKLaboklab(72.67% 0.1393 -0.1394)
OKLCHoklch(72.67% 0.197 315)
XYZxyz(51.3635, 34.8197, 94.4391)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47AFA #A0FA7A
analogous
#947AFA #D47AFA #FA7AE0
triadic
#D47AFA #FAD47A #7AFAD4
tetradic
#D47AFA #FA947A #A0FA7A #7AE0FA
square
#D47AFA #FA947A #A0FA7A #7AE0FA
split-complementary
#D47AFA #E0FA7A #7AFA94
monochromatic
#AC09F1 #C13FF8 #D47AFA #E7B5FC #F5E2FE

Accessibility & contrast

On white

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

On black

7.96
#D47AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47AFA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47AFA#FFFFFF#000000##000000
##D47AFA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#D18EAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d47afa;
/* rgb */ color: rgb(212, 122, 250);
/* oklch */ color: oklch(72.7% 0.197 315.0);
Tailwind
colors: {
  custom: {
    50: '#e4a3fc',
    500: '#d47afa',
    950: '#000000',
  },
}
SCSS
$custom: #d47afa;
$custom-light: #e4a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d47afa",
  "rgb": {
    "r": 212,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 282.188,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.19706,
    "h": 315
  },
  "luminance": 0.34818
}

Semantic roles & 50–950 ramp

primary
#D47AFA
secondary
#DFF6D5
accent
#E60044
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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