#B47ECB#B47ECB

#B47ECB is a light, vivid purple. Relative luminance 0.289; OKLCH L 67.5% C 0.125 H 315.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B47ECB
RGBrgb(180, 126, 203)
HSLhsl(282, 43%, 65%)
HSVhsv(282, 38%, 80%)
CMYKcmyk(11.3%, 37.9%, 0%, 20.4%)
CIE-LABlab(60.73, 34.57, -31.79)
CIE-LCHlch(60.73, 46.96, 317.39°)
OKLaboklab(67.53% 0.0886 -0.0875)
OKLCHoklch(67.53% 0.125 315.4)
XYZxyz(37.0611, 28.9376, 60.1215)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47ECB #95CB7E
analogous
#8E7ECB #B47ECB #CB7EBC
triadic
#B47ECB #CBB47E #7ECBB4
tetradic
#B47ECB #CB8E7E #95CB7E #7EBCCB
square
#B47ECB #CB8E7E #95CB7E #7EBCCB
split-complementary
#B47ECB #BCCB7E #7ECB8E
monochromatic
#793B93 #9B52B9 #B47ECB #CDAADD #E7D5EE

Accessibility & contrast

On white

3.09
#B47ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B47ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B47ECB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47ECB#FFFFFF#000000##000000
##B47ECB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCE
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#B3889B
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b47ecb;
/* rgb */ color: rgb(180, 126, 203);
/* oklch */ color: oklch(67.5% 0.125 315.4);
Tailwind
colors: {
  custom: {
    50: '#cba4db',
    500: '#b47ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b47ecb;
$custom-light: #cba4db;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ecb",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 282.078,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.12455,
    "h": 315.4
  },
  "luminance": 0.28937
}

Semantic roles & 50–950 ramp

primary
#B47ECB
secondary
#CDE0C5
accent
#B63058
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #B47ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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