#B47BFB#B47BFB

#B47BFB is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.186 H 302.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B47BFB
RGBrgb(180, 123, 251)
HSLhsl(267, 94%, 73%)
HSVhsv(267, 51%, 98%)
CMYKcmyk(28.3%, 51%, 0%, 1.6%)
CIE-LABlab(62.37, 46.98, -55.94)
CIE-LCHlch(62.37, 73.05, 310.02°)
OKLaboklab(69.51% 0.0998 -0.1575)
OKLCHoklch(69.51% 0.186 302.4)
XYZxyz(43.3140, 30.8342, 94.9178)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47BFB #C2FB7B
analogous
#7B82FB #B47BFB #F47BFB
triadic
#B47BFB #FBB47B #7BFBB4
tetradic
#B47BFB #FB7B82 #C2FB7B #7BFBF4
square
#B47BFB #FB7B82 #C2FB7B #7BFBF4
split-complementary
#B47BFB #FBF47B #82FB7B
monochromatic
#7107F4 #9240F9 #B47BFB #D6B6FD #EEE1FE

Accessibility & contrast

On white

2.93
#B47BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B47BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47BFB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47BFB#FFFFFF#000000##000000
##B47BFB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#A793B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47bfb;
/* rgb */ color: rgb(180, 123, 251);
/* oklch */ color: oklch(69.5% 0.186 302.4);
Tailwind
colors: {
  custom: {
    50: '#cda3fd',
    500: '#b47bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b47bfb;
$custom-light: #cda3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b47bfb",
  "rgb": {
    "r": 180,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 266.719,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6951,
    "c": 0.18643,
    "h": 302.4
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#B47BFB
secondary
#E7F6D5
accent
#E6007F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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