#D47DFC#D47DFC

#D47DFC is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.195 H 314.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D47DFC
RGBrgb(212, 125, 252)
HSLhsl(281, 95%, 74%)
HSVhsv(281, 50%, 99%)
CMYKcmyk(15.9%, 50.4%, 0%, 1.2%)
CIE-LABlab(66.29, 54.40, -50.06)
CIE-LCHlch(66.29, 73.92, 317.38°)
OKLaboklab(73.2% 0.1355 -0.1395)
OKLCHoklch(73.2% 0.195 314.2)
XYZxyz(52.0528, 35.6939, 96.2242)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47DFC #A5FC7D
analogous
#957DFC #D47DFC #FC7DE5
triadic
#D47DFC #FCD47D #7DFCD4
tetradic
#D47DFC #FC957D #A5FC7D #7DE5FC
square
#D47DFC #FC957D #A5FC7D #7DE5FC
split-complementary
#D47DFC #E5FC7D #7DFC95
monochromatic
#AC06F9 #C041FB #D47DFC #E8B9FD #F5E1FE

Accessibility & contrast

On white

2.58
#D47DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D47DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47DFC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47DFC#FFFFFF#000000##000000
##D47DFC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#7BA3F9
Tritanopia (blue-blind)
#D191B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d47dfc;
/* rgb */ color: rgb(212, 125, 252);
/* oklch */ color: oklch(73.2% 0.195 314.2);
Tailwind
colors: {
  custom: {
    50: '#e4a5fe',
    500: '#d47dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d47dfc;
$custom-light: #e4a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d47dfc",
  "rgb": {
    "r": 212,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 281.102,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73203,
    "c": 0.1945,
    "h": 314.2
  },
  "luminance": 0.35693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D47DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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