#D47DFB#D47DFB

#D47DFB is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.2% C 0.193 H 314.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#D47DFB
RGBrgb(212, 125, 251)
HSLhsl(281, 94%, 74%)
HSVhsv(281, 50%, 98%)
CMYKcmyk(15.5%, 50.2%, 0%, 1.6%)
CIE-LABlab(66.24, 54.19, -49.59)
CIE-LCHlch(66.24, 73.46, 317.54°)
OKLaboklab(73.15% 0.1354 -0.1381)
OKLCHoklch(73.15% 0.193 314.4)
XYZxyz(51.8948, 35.6307, 95.3918)
Luminance0.3563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47DFB #A4FB7D
analogous
#957DFB #D47DFB #FB7DE3
triadic
#D47DFB #FBD47D #7DFBD4
tetradic
#D47DFB #FB957D #A4FB7D #7DE3FB
square
#D47DFB #FB957D #A4FB7D #7DE3FB
split-complementary
#D47DFB #E3FB7D #7DFB95
monochromatic
#AC08F6 #C042F9 #D47DFB #E8B8FD #F5E1FE

Accessibility & contrast

On white

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

On black

8.13
#D47DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47DFB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47DFB#FFFFFF#000000##000000
##D47DFB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d47dfb;
/* rgb */ color: rgb(212, 125, 251);
/* oklch */ color: oklch(73.2% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#e3a5fd',
    500: '#d47dfb',
    950: '#000000',
  },
}
SCSS
$custom: #d47dfb;
$custom-light: #e3a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d47dfb",
  "rgb": {
    "r": 212,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 281.429,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73151,
    "c": 0.19345,
    "h": 314.4
  },
  "luminance": 0.35629
}

Semantic roles & 50–950 ramp

primary
#D47DFB
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D47DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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