#D47CFB#D47CFB

#D47CFB is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.0% C 0.195 H 314.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D47CFB
RGBrgb(212, 124, 251)
HSLhsl(282, 94%, 74%)
HSVhsv(282, 51%, 98%)
CMYKcmyk(15.5%, 50.6%, 0%, 1.6%)
CIE-LABlab(66.04, 54.70, -49.89)
CIE-LCHlch(66.04, 74.04, 317.63°)
OKLaboklab(73.01% 0.1368 -0.139)
OKLCHoklch(73.01% 0.195 314.5)
XYZxyz(51.7688, 35.3788, 95.3498)
Luminance0.3538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47CFB #A3FB7C
analogous
#947CFB #D47CFB #FB7CE2
triadic
#D47CFB #FBD47C #7CFBD4
tetradic
#D47CFB #FB947C #A3FB7C #7CE2FB
square
#D47CFB #FB947C #A3FB7C #7CE2FB
split-complementary
#D47CFB #E2FB7C #7CFB94
monochromatic
#AC07F5 #C141F9 #D47CFB #E7B7FD #F5E1FE

Accessibility & contrast

On white

2.60
#D47CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D47CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47CFB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47CFB#FFFFFF#000000##000000
##D47CFB1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#D190B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d47cfb;
/* rgb */ color: rgb(212, 124, 251);
/* oklch */ color: oklch(73.0% 0.195 314.5);
Tailwind
colors: {
  custom: {
    50: '#e4a5fd',
    500: '#d47cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d47cfb;
$custom-light: #e4a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d47cfb",
  "rgb": {
    "r": 212,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 281.575,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73007,
    "c": 0.19501,
    "h": 314.5
  },
  "luminance": 0.35377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D47CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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