#B47BFC#B47BFC

#B47BFC is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.6% C 0.188 H 302.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B47BFC
RGBrgb(180, 123, 252)
HSLhsl(267, 96%, 74%)
HSVhsv(267, 51%, 99%)
CMYKcmyk(28.6%, 51.2%, 0%, 1.2%)
CIE-LABlab(62.42, 47.22, -56.40)
CIE-LCHlch(62.42, 73.56, 309.93°)
OKLaboklab(69.57% 0.0999 -0.1588)
OKLCHoklch(69.57% 0.188 302.2)
XYZxyz(43.4721, 30.8974, 95.7502)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47BFC #C3FC7B
analogous
#7B82FC #B47BFC #F57BFC
triadic
#B47BFC #FCB47B #7BFCB4
tetradic
#B47BFC #FC7B82 #C3FC7B #7BFCF5
square
#B47BFC #FC7B82 #C3FC7B #7BFCF5
split-complementary
#B47BFC #FCF57B #82FC7B
monochromatic
#7006F7 #923FFB #B47BFC #D6B7FD #EEE1FE

Accessibility & contrast

On white

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

On black

7.18
#B47BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47BFC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47BFC#FFFFFF#000000##000000
##B47BFC1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#6096F9
Tritanopia (blue-blind)
#A693B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47bfc;
/* rgb */ color: rgb(180, 123, 252);
/* oklch */ color: oklch(69.6% 0.188 302.2);
Tailwind
colors: {
  custom: {
    50: '#cea3fe',
    500: '#b47bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b47bfc;
$custom-light: #cea3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b47bfc",
  "rgb": {
    "r": 180,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 266.512,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69567,
    "c": 0.18763,
    "h": 302.2
  },
  "luminance": 0.30897
}

Semantic roles & 50–950 ramp

primary
#B47BFC
secondary
#E7F7D4
accent
#E60080
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B47BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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