#BB48FB#BB48FB

#BB48FB is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.8% C 0.257 H 310.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB48FB
RGBrgb(187, 72, 251)
HSLhsl(279, 96%, 63%)
HSVhsv(279, 71%, 98%)
CMYKcmyk(25.5%, 71.3%, 0%, 1.6%)
CIE-LABlab(54.20, 72.78, -69.00)
CIE-LCHlch(54.20, 100.29, 316.53°)
OKLaboklab(63.76% 0.1663 -0.1953)
OKLCHoklch(63.76% 0.257 310.4)
XYZxyz(40.2201, 22.1655, 93.4077)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48FB #88FB48
analogous
#6148FB #BB48FB #FB48E2
triadic
#BB48FB #FBBB48 #48FBBB
tetradic
#BB48FB #FB6148 #88FB48 #48E2FB
square
#BB48FB #FB6148 #88FB48 #48E2FB
split-complementary
#BB48FB #E2FB48 #48FB61
monochromatic
#8004C4 #A50CFA #BB48FB #D184FC #E8C0FE

Accessibility & contrast

On white

3.87
#BB48FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BB48FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48FB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48FB#FFFFFF#000000##000000
##BB48FB1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#2583F7
Tritanopia (blue-blind)
#B2719E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb48fb;
/* rgb */ color: rgb(187, 72, 251);
/* oklch */ color: oklch(63.8% 0.257 310.4);
Tailwind
colors: {
  custom: {
    50: '#d585fe',
    500: '#bb48fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb48fb;
$custom-light: #d585fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48fb",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 278.547,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63757,
    "c": 0.25656,
    "h": 310.4
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#BB48FB
secondary
#C6EFB0
accent
#E60052
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BB48FB

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

Preview Lab → · Contrast checker → · Palette generator →

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