#B47BFE#B47BFE

#B47BFE is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.190 H 301.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B47BFE
RGBrgb(180, 123, 254)
HSLhsl(266, 98%, 74%)
HSVhsv(266, 52%, 100%)
CMYKcmyk(29.1%, 51.6%, 0%, 0.4%)
CIE-LABlab(62.53, 47.69, -57.33)
CIE-LCHlch(62.53, 74.57, 309.75°)
OKLaboklab(69.68% 0.1 -0.1615)
OKLCHoklch(69.68% 0.19 301.8)
XYZxyz(43.7906, 31.0249, 97.4281)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B47BFE #C5FE7B
analogous
#7B84FE #B47BFE #F67BFE
triadic
#B47BFE #FEB47B #7BFEB4
tetradic
#B47BFE #FE7B84 #C5FE7B #7BFEF6
square
#B47BFE #FE7B84 #C5FE7B #7BFEF6
split-complementary
#B47BFE #FEF67B #84FE7B
monochromatic
#6F02FD #913EFE #B47BFE #D7B8FE #EEE1FF

Accessibility & contrast

On white

2.91
#B47BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B47BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B47BFE
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B47BFE#FFFFFF#000000##000000
##B47BFE1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#A694B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b47bfe;
/* rgb */ color: rgb(180, 123, 254);
/* oklch */ color: oklch(69.7% 0.190 301.8);
Tailwind
colors: {
  custom: {
    50: '#cea3ff',
    500: '#b47bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b47bfe;
$custom-light: #cea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b47bfe",
  "rgb": {
    "r": 180,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 266.107,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69681,
    "c": 0.18999,
    "h": 301.8
  },
  "luminance": 0.31025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B47BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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