#B47BEB#B47BEB

#B47BEB is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.6% C 0.167 H 306.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B47BEB
RGBrgb(180, 123, 235)
HSLhsl(271, 74%, 70%)
HSVhsv(271, 48%, 92%)
CMYKcmyk(23.4%, 47.7%, 0%, 7.8%)
CIE-LABlab(61.54, 43.25, -48.41)
CIE-LCHlch(61.54, 64.92, 311.78°)
OKLaboklab(68.63% 0.0983 -0.1355)
OKLCHoklch(68.63% 0.167 306)
XYZxyz(40.8977, 29.8677, 82.1917)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47BEB #B2EB7B
analogous
#7C7BEB #B47BEB #EB7BEA
triadic
#B47BEB #EBB47B #7BEBB4
tetradic
#B47BEB #EB7C7B #B2EB7B #7BEAEB
square
#B47BEB #EB7C7B #B2EB7B #7BEAEB
split-complementary
#B47BEB #EAEB7B #7BEB7C
monochromatic
#771FCD #9646E3 #B47BEB #D2B0F3 #F0E4FB

Accessibility & contrast

On white

3.01
#B47BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B47BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B47BEB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47BEB#FFFFFF#000000##000000
##B47BEB1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#AB8EA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b47beb;
/* rgb */ color: rgb(180, 123, 235);
/* oklch */ color: oklch(68.6% 0.167 306.0);
Tailwind
colors: {
  custom: {
    50: '#cda2f2',
    500: '#b47beb',
    950: '#000000',
  },
}
SCSS
$custom: #b47beb;
$custom-light: #cda2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b47beb",
  "rgb": {
    "r": 180,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 270.536,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.1674,
    "h": 306
  },
  "luminance": 0.29867
}

Semantic roles & 50–950 ramp

primary
#B47BEB
secondary
#E1F0D1
accent
#D61071
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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