#D47BEC#D47BEC

#D47BEC is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.1% C 0.181 H 318.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D47BEC
RGBrgb(212, 123, 236)
HSLhsl(287, 75%, 70%)
HSVhsv(287, 48%, 93%)
CMYKcmyk(10.2%, 47.9%, 0%, 7.5%)
CIE-LABlab(65.14, 52.20, -43.06)
CIE-LCHlch(65.14, 67.67, 320.48°)
OKLaboklab(72.11% 0.1363 -0.1192)
OKLCHoklch(72.11% 0.181 318.8)
XYZxyz(49.3727, 34.2209, 83.3451)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47BEC #93EC7B
analogous
#9C7BEC #D47BEC #EC7BCB
triadic
#D47BEC #ECD47B #7BECD4
tetradic
#D47BEC #EC9C7B #93EC7B #7BCBEC
square
#D47BEC #EC9C7B #93EC7B #7BCBEC
split-complementary
#D47BEC #CBEC7B #7BEC9C
monochromatic
#A91ECF #C346E4 #D47BEC #E5B0F4 #F6E4FB

Accessibility & contrast

On white

2.68
#D47BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D47BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47BEC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47BEC#FFFFFF#000000##000000
##D47BEC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#D48BA9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d47bec;
/* rgb */ color: rgb(212, 123, 236);
/* oklch */ color: oklch(72.1% 0.181 318.8);
Tailwind
colors: {
  custom: {
    50: '#e3a4f2',
    500: '#d47bec',
    950: '#000000',
  },
}
SCSS
$custom: #d47bec;
$custom-light: #e3a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d47bec",
  "rgb": {
    "r": 212,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 287.257,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72106,
    "c": 0.18109,
    "h": 318.8
  },
  "luminance": 0.34219
}

Semantic roles & 50–950 ramp

primary
#D47BEC
secondary
#D8F1D2
accent
#D70F39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D47BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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