#D47ECB#D47ECB

#D47ECB is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.144 H 330.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#D47ECB
RGBrgb(212, 126, 203)
HSLhsl(306, 50%, 66%)
HSVhsv(306, 41%, 83%)
CMYKcmyk(0%, 40.6%, 4.2%, 16.9%)
CIE-LABlab(64.35, 44.49, -25.90)
CIE-LCHlch(64.35, 51.48, 329.79°)
OKLaboklab(71.06% 0.1258 -0.0702)
OKLCHoklch(71.06% 0.144 330.8)
XYZxyz(45.3912, 33.2329, 60.5120)
Luminance0.3323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47ECB #7ED487
analogous
#B27ED4 #D47ECB #D47EA0
triadic
#D47ECB #CBD47E #7ECBD4
tetradic
#D47ECB #D4B27E #7ED487 #7EA0D4
square
#D47ECB #D4B27E #7ED487 #7EA0D4
split-complementary
#D47ECB #A0D47E #7ED4B2
monochromatic
#A23696 #C550B8 #D47ECB #E3ACDE #F3DAF0

Accessibility & contrast

On white

2.75
#D47ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#D47ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47ECB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47ECB#FFFFFF#000000##000000
##D47ECB1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CE
Deuteranopia (green-blind)
#91A0C8
Tritanopia (blue-blind)
#DA849B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d47ecb;
/* rgb */ color: rgb(212, 126, 203);
/* oklch */ color: oklch(71.1% 0.144 330.8);
Tailwind
colors: {
  custom: {
    50: '#e3a5db',
    500: '#d47ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d47ecb;
$custom-light: #e3a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d47ecb",
  "rgb": {
    "r": 212,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 306.279,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71061,
    "c": 0.14408,
    "h": 330.8
  },
  "luminance": 0.33231
}

Semantic roles & 50–950 ramp

primary
#D47ECB
secondary
#C9E5CC
accent
#BD3828
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D47ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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