#D47FEA#D47FEA

#D47FEA is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.173 H 319.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D47FEA
RGBrgb(212, 127, 234)
HSLhsl(288, 72%, 71%)
HSVhsv(288, 46%, 92%)
CMYKcmyk(9.4%, 45.7%, 0%, 8.2%)
CIE-LABlab(65.84, 49.76, -40.85)
CIE-LCHlch(65.84, 64.38, 320.61°)
OKLaboklab(72.6% 0.1305 -0.1129)
OKLCHoklch(72.6% 0.173 319.1)
XYZxyz(49.5901, 35.1180, 81.9922)
Luminance0.3512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47FEA #95EA7F
analogous
#9E7FEA #D47FEA #EA7FCA
triadic
#D47FEA #EAD47F #7FEAD4
tetradic
#D47FEA #EA9E7F #95EA7F #7FCAEA
square
#D47FEA #EA9E7F #95EA7F #7FCAEA
split-complementary
#D47FEA #CAEA7F #7FEA9E
monochromatic
#AA22CD #C24AE1 #D47FEA #E6B4F3 #F6E5FB

Accessibility & contrast

On white

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

On black

8.02
#D47FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47FEA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47FEA#FFFFFF#000000##000000
##D47FEA1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#86A3E7
Tritanopia (blue-blind)
#D58DAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d47fea;
/* rgb */ color: rgb(212, 127, 234);
/* oklch */ color: oklch(72.6% 0.173 319.1);
Tailwind
colors: {
  custom: {
    50: '#e3a6f1',
    500: '#d47fea',
    950: '#000000',
  },
}
SCSS
$custom: #d47fea;
$custom-light: #e3a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d47fea",
  "rgb": {
    "r": 212,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 287.664,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72599,
    "c": 0.17255,
    "h": 319.1
  },
  "luminance": 0.35116
}

Semantic roles & 50–950 ramp

primary
#D47FEA
secondary
#DAF1D4
accent
#D4123A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D47FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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