#B47DEC#B47DEC

#B47DEC is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.165 H 305.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B47DEC
RGBrgb(180, 125, 236)
HSLhsl(270, 74%, 71%)
HSVhsv(270, 47%, 93%)
CMYKcmyk(23.7%, 47%, 0%, 7.5%)
CIE-LABlab(62.02, 42.39, -48.21)
CIE-LCHlch(62.02, 64.20, 311.33°)
OKLaboklab(69% 0.0957 -0.1349)
OKLCHoklch(69% 0.165 305.4)
XYZxyz(41.2932, 30.4269, 83.0382)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47DEC #B5EC7D
analogous
#7D7DEC #B47DEC #EC7DEC
triadic
#B47DEC #ECB47D #7DECB4
tetradic
#B47DEC #EC7D7D #B5EC7D #7DECEC
square
#B47DEC #EC7D7D #B5EC7D #7DECEC
split-complementary
#B47DEC #ECEC7D #7DEC7D
monochromatic
#761ED0 #9548E4 #B47DEC #D3B2F4 #F0E4FB

Accessibility & contrast

On white

2.96
#B47DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B47DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47DEC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47DEC#FFFFFF#000000##000000
##B47DEC1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#AB90A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b47dec;
/* rgb */ color: rgb(180, 125, 236);
/* oklch */ color: oklch(69.0% 0.165 305.4);
Tailwind
colors: {
  custom: {
    50: '#cda4f2',
    500: '#b47dec',
    950: '#000000',
  },
}
SCSS
$custom: #b47dec;
$custom-light: #cda4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b47dec",
  "rgb": {
    "r": 180,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 269.73,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69001,
    "c": 0.16542,
    "h": 305.4
  },
  "luminance": 0.30427
}

Semantic roles & 50–950 ramp

primary
#B47DEC
secondary
#E3F1D3
accent
#D70F74
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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