#B47EFB#B47EFB

#B47EFB is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.0% C 0.182 H 301.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B47EFB
RGBrgb(180, 126, 251)
HSLhsl(266, 94%, 74%)
HSVhsv(266, 50%, 98%)
CMYKcmyk(28.3%, 49.8%, 0%, 1.6%)
CIE-LABlab(63.00, 45.36, -54.93)
CIE-LCHlch(63.00, 71.23, 309.55°)
OKLaboklab(69.98% 0.096 -0.1545)
OKLCHoklch(69.98% 0.182 301.8)
XYZxyz(43.6919, 31.5900, 95.0437)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47EFB #C5FB7E
analogous
#7E87FB #B47EFB #F37EFB
triadic
#B47EFB #FBB47E #7EFBB4
tetradic
#B47EFB #FB7E87 #C5FB7E #7EFBF3
square
#B47EFB #FB7E87 #C5FB7E #7EFBF3
split-complementary
#B47EFB #FBF37E #87FB7E
monochromatic
#6F08F7 #9143F9 #B47EFB #D7B9FD #EEE1FE

Accessibility & contrast

On white

2.87
#B47EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#B47EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47EFB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47EFB#FFFFFF#000000##000000
##B47EFB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#A795B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b47efb;
/* rgb */ color: rgb(180, 126, 251);
/* oklch */ color: oklch(70.0% 0.182 301.8);
Tailwind
colors: {
  custom: {
    50: '#cda5fd',
    500: '#b47efb',
    950: '#000000',
  },
}
SCSS
$custom: #b47efb;
$custom-light: #cda5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b47efb",
  "rgb": {
    "r": 180,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 265.92,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.18189,
    "h": 301.8
  },
  "luminance": 0.3159
}

Semantic roles & 50–950 ramp

primary
#B47EFB
secondary
#E8F6D5
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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