#BB48FE#BB48FE

#BB48FE is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 64.0% C 0.259 H 309.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BB48FE
RGBrgb(187, 72, 254)
HSLhsl(278, 99%, 64%)
HSVhsv(278, 72%, 100%)
CMYKcmyk(26.4%, 71.7%, 0%, 0.4%)
CIE-LABlab(54.40, 73.40, -70.34)
CIE-LCHlch(54.40, 101.66, 316.22°)
OKLaboklab(63.96% 0.1659 -0.1993)
OKLCHoklch(63.96% 0.259 309.8)
XYZxyz(40.6967, 22.3561, 95.9180)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB48FE #8BFE48
analogous
#6048FE #BB48FE #FE48E6
triadic
#BB48FE #FEBB48 #48FEBB
tetradic
#BB48FE #FE6048 #8BFE48 #48E6FE
square
#BB48FE #FE6048 #8BFE48 #48E6FE
split-complementary
#BB48FE #E6FE48 #48FE60
monochromatic
#8001CA #A40BFE #BB48FE #D285FE #E8C2FF

Accessibility & contrast

On white

3.84
#BB48FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BB48FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB48FE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB48FE#FFFFFF#000000##000000
##BB48FE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#1D84FA
Tritanopia (blue-blind)
#B1729F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb48fe;
/* rgb */ color: rgb(187, 72, 254);
/* oklch */ color: oklch(64.0% 0.259 309.8);
Tailwind
colors: {
  custom: {
    50: '#d585ff',
    500: '#bb48fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb48fe;
$custom-light: #d585ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb48fe",
  "rgb": {
    "r": 187,
    "g": 72,
    "b": 254
  },
  "hsl": {
    "h": 277.912,
    "s": 98.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.25929,
    "h": 309.8
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#BB48FE
secondary
#C8F1B1
accent
#E60054
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BB48FE

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

Preview Lab → · Contrast checker → · Palette generator →

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