#D47CFE#D47CFE

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

Color values

HEX#D47CFE
RGBrgb(212, 124, 254)
HSLhsl(281, 98%, 74%)
HSVhsv(281, 51%, 100%)
CMYKcmyk(16.5%, 51.2%, 0%, 0.4%)
CIE-LABlab(66.19, 55.32, -51.30)
CIE-LCHlch(66.19, 75.44, 317.16°)
OKLaboklab(73.16% 0.137 -0.1431)
OKLCHoklch(73.16% 0.198 313.8)
XYZxyz(52.2455, 35.5695, 97.8601)
Luminance0.3557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47CFE #A6FE7C
analogous
#937CFE #D47CFE #FE7CE7
triadic
#D47CFE #FED47C #7CFED4
tetradic
#D47CFE #FE937C #A6FE7C #7CE7FE
square
#D47CFE #FE937C #A6FE7C #7CE7FE
split-complementary
#D47CFE #E7FE7C #7CFE93
monochromatic
#AC03FD #C03FFE #D47CFE #E8B9FE #F5E1FF

Accessibility & contrast

On white

2.59
#D47CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D47CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47CFE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47CFE#FFFFFF#000000##000000
##D47CFE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#D091B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d47cfe;
/* rgb */ color: rgb(212, 124, 254);
/* oklch */ color: oklch(73.2% 0.198 313.8);
Tailwind
colors: {
  custom: {
    50: '#e4a5ff',
    500: '#d47cfe',
    950: '#000000',
  },
}
SCSS
$custom: #d47cfe;
$custom-light: #e4a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d47cfe",
  "rgb": {
    "r": 212,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 280.615,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.19815,
    "h": 313.8
  },
  "luminance": 0.35568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D47CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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