#B47CEB#B47CEB

#B47CEB is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.8% C 0.166 H 305.8°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#B47CEB
RGBrgb(180, 124, 235)
HSLhsl(270, 74%, 70%)
HSVhsv(270, 47%, 92%)
CMYKcmyk(23.4%, 47.2%, 0%, 7.8%)
CIE-LABlab(61.76, 42.71, -48.07)
CIE-LCHlch(61.76, 64.31, 311.62°)
OKLaboklab(68.79% 0.097 -0.1345)
OKLCHoklch(68.79% 0.166 305.8)
XYZxyz(41.0223, 30.1170, 82.2332)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47CEB #B3EB7C
analogous
#7C7CEB #B47CEB #EB7CEB
triadic
#B47CEB #EBB47C #7CEBB4
tetradic
#B47CEB #EB7C7C #B3EB7C #7CEBEB
square
#B47CEB #EB7C7C #B3EB7C #7CEBEB
split-complementary
#B47CEB #EBEB7C #7CEB7C
monochromatic
#771FCD #9647E3 #B47CEB #D2B1F3 #F0E4FB

Accessibility & contrast

On white

2.99
#B47CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#B47CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47CEB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47CEB#FFFFFF#000000##000000
##B47CEB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#AB8FA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b47ceb;
/* rgb */ color: rgb(180, 124, 235);
/* oklch */ color: oklch(68.8% 0.166 305.8);
Tailwind
colors: {
  custom: {
    50: '#cda3f2',
    500: '#b47ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b47ceb;
$custom-light: #cda3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b47ceb",
  "rgb": {
    "r": 180,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 270.27,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68786,
    "c": 0.16581,
    "h": 305.8
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#B47CEB
secondary
#E1F1D2
accent
#D61072
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B47CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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