#D47ECC#D47ECC

#D47ECC is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.1% C 0.145 H 330.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D47ECC
RGBrgb(212, 126, 204)
HSLhsl(306, 50%, 66%)
HSVhsv(306, 41%, 83%)
CMYKcmyk(0%, 40.6%, 3.8%, 16.9%)
CIE-LABlab(64.39, 44.67, -26.40)
CIE-LCHlch(64.39, 51.89, 329.41°)
OKLaboklab(71.1% 0.1261 -0.0716)
OKLCHoklch(71.1% 0.145 330.4)
XYZxyz(45.5108, 33.2807, 61.1416)
Luminance0.3328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47ECC #7ED486
analogous
#B17ED4 #D47ECC #D47EA1
triadic
#D47ECC #CCD47E #7ECCD4
tetradic
#D47ECC #D4B17E #7ED486 #7EA1D4
square
#D47ECC #D4B17E #7ED486 #7EA1D4
split-complementary
#D47ECC #A1D47E #7ED4B1
monochromatic
#A23698 #C550BA #D47ECC #E3ACDE #F3DAF0

Accessibility & contrast

On white

2.74
#D47ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D47ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47ECC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47ECC#FFFFFF#000000##000000
##D47ECC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95CF
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#DA849C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d47ecc;
/* rgb */ color: rgb(212, 126, 204);
/* oklch */ color: oklch(71.1% 0.145 330.4);
Tailwind
colors: {
  custom: {
    50: '#e3a5db',
    500: '#d47ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d47ecc;
$custom-light: #e3a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d47ecc",
  "rgb": {
    "r": 212,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 305.581,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71102,
    "c": 0.14499,
    "h": 330.4
  },
  "luminance": 0.33278
}

Semantic roles & 50–950 ramp

primary
#D47ECC
secondary
#C9E5CB
accent
#BD3628
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D47ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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