#B48BFC#B48BFC

#B48BFC is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.2% C 0.163 H 299.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B48BFC
RGBrgb(180, 139, 252)
HSLhsl(262, 95%, 77%)
HSVhsv(262, 45%, 99%)
CMYKcmyk(28.6%, 44.8%, 0%, 1.2%)
CIE-LABlab(65.90, 38.46, -50.88)
CIE-LCHlch(65.90, 63.78, 307.09°)
OKLaboklab(72.17% 0.0791 -0.1427)
OKLCHoklch(72.17% 0.163 299)
XYZxyz(45.6216, 35.1965, 96.4667)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48BFC #D3FC8B
analogous
#8B9BFC #B48BFC #ED8BFC
triadic
#B48BFC #FCB48B #8BFCB4
tetradic
#B48BFC #FC8B9B #D3FC8B #8BFCED
square
#B48BFC #FC8B9B #D3FC8B #8BFCED
split-complementary
#B48BFC #FCED8B #9BFC8B
monochromatic
#6714F9 #8D4FFA #B48BFC #DBC7FE #ECE1FE

Accessibility & contrast

On white

2.61
#B48BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B48BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48BFC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48BFC#FFFFFF#000000##000000
##B48BFC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#A69FB8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b48bfc;
/* rgb */ color: rgb(180, 139, 252);
/* oklch */ color: oklch(72.2% 0.163 299.0);
Tailwind
colors: {
  custom: {
    50: '#cdadfe',
    500: '#b48bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b48bfc;
$custom-light: #cdadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b48bfc",
  "rgb": {
    "r": 180,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 261.77,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72165,
    "c": 0.16319,
    "h": 299
  },
  "luminance": 0.35197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B48BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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