#B47BFA#B47BFA

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

Color values

HEX#B47BFA
RGBrgb(180, 123, 250)
HSLhsl(267, 93%, 73%)
HSVhsv(267, 51%, 98%)
CMYKcmyk(28%, 50.8%, 0%, 2%)
CIE-LABlab(62.31, 46.74, -55.47)
CIE-LCHlch(62.31, 72.54, 310.12°)
OKLaboklab(69.45% 0.0998 -0.1561)
OKLCHoklch(69.45% 0.185 302.6)
XYZxyz(43.1568, 30.7713, 94.0898)
Luminance0.3077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47BFA #C1FA7B
analogous
#7B81FA #B47BFA #F37BFA
triadic
#B47BFA #FAB47B #7BFAB4
tetradic
#B47BFA #FA7B81 #C1FA7B #7BFAF3
square
#B47BFA #FA7B81 #C1FA7B #7BFAF3
split-complementary
#B47BFA #FAF37B #81FA7B
monochromatic
#7109F1 #9240F8 #B47BFA #D6B6FC #EEE2FE

Accessibility & contrast

On white

2.94
#B47BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B47BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47BFA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47BFA#FFFFFF#000000##000000
##B47BFA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#A793AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47bfa;
/* rgb */ color: rgb(180, 123, 250);
/* oklch */ color: oklch(69.5% 0.185 302.6);
Tailwind
colors: {
  custom: {
    50: '#cda3fc',
    500: '#b47bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b47bfa;
$custom-light: #cda3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b47bfa",
  "rgb": {
    "r": 180,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 266.929,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69453,
    "c": 0.18525,
    "h": 302.6
  },
  "luminance": 0.30771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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