#D47EFA#D47EFA

#D47EFA is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.191 H 314.6°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D47EFA
RGBrgb(212, 126, 250)
HSLhsl(282, 93%, 74%)
HSVhsv(282, 50%, 98%)
CMYKcmyk(15.2%, 49.6%, 0%, 2%)
CIE-LABlab(66.38, 53.48, -48.80)
CIE-LCHlch(66.38, 72.40, 317.62°)
OKLaboklab(73.24% 0.134 -0.1359)
OKLCHoklch(73.24% 0.191 314.6)
XYZxyz(51.8648, 35.8223, 94.6062)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47EFA #A4FA7E
analogous
#967EFA #D47EFA #FA7EE2
triadic
#D47EFA #FAD47E #7EFAD4
tetradic
#D47EFA #FA967E #A4FA7E #7EE2FA
square
#D47EFA #FA967E #A4FA7E #7EE2FA
split-complementary
#D47EFA #E2FA7E #7EFA96
monochromatic
#AC09F4 #C043F8 #D47EFA #E8B9FC #F5E2FE

Accessibility & contrast

On white

2.57
#D47EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D47EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47EFA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47EFA#FFFFFF#000000##000000
##D47EFA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#7DA4F7
Tritanopia (blue-blind)
#D191B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d47efa;
/* rgb */ color: rgb(212, 126, 250);
/* oklch */ color: oklch(73.2% 0.191 314.6);
Tailwind
colors: {
  custom: {
    50: '#e3a6fc',
    500: '#d47efa',
    950: '#000000',
  },
}
SCSS
$custom: #d47efa;
$custom-light: #e3a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d47efa",
  "rgb": {
    "r": 212,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 281.613,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.19083,
    "h": 314.6
  },
  "luminance": 0.35821
}

Semantic roles & 50–950 ramp

primary
#D47EFA
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D47EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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