#B48BFB#B48BFB

#B48BFB is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.1% C 0.162 H 299.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B48BFB
RGBrgb(180, 139, 251)
HSLhsl(262, 93%, 76%)
HSVhsv(262, 45%, 98%)
CMYKcmyk(28.3%, 44.6%, 0%, 1.6%)
CIE-LABlab(65.85, 38.22, -50.41)
CIE-LCHlch(65.85, 63.26, 307.17°)
OKLaboklab(72.11% 0.079 -0.1413)
OKLCHoklch(72.11% 0.162 299.2)
XYZxyz(45.4635, 35.1333, 95.6343)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48BFB #D2FB8B
analogous
#8B9AFB #B48BFB #EC8BFB
triadic
#B48BFB #FBB48B #8BFBB4
tetradic
#B48BFB #FB8B9A #D2FB8B #8BFBEC
square
#B48BFB #FB8B9A #D2FB8B #8BFBEC
split-complementary
#B48BFB #FBEC8B #9AFB8B
monochromatic
#6815F7 #8E50F9 #B48BFB #DAC6FD #ECE1FE

Accessibility & contrast

On white

2.62
#B48BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B48BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48BFB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48BFB#FFFFFF#000000##000000
##B48BFB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#A69FB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48bfb;
/* rgb */ color: rgb(180, 139, 251);
/* oklch */ color: oklch(72.1% 0.162 299.2);
Tailwind
colors: {
  custom: {
    50: '#cdadfd',
    500: '#b48bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b48bfb;
$custom-light: #cdadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b48bfb",
  "rgb": {
    "r": 180,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 261.964,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.16192,
    "h": 299.2
  },
  "luminance": 0.35134
}

Semantic roles & 50–950 ramp

primary
#B48BFB
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B48BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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