#BB56F5#BB56F5

#BB56F5 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.8% C 0.234 H 310.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BB56F5
RGBrgb(187, 86, 245)
HSLhsl(278, 89%, 65%)
HSVhsv(278, 65%, 96%)
CMYKcmyk(23.7%, 64.9%, 0%, 3.9%)
CIE-LABlab(55.90, 65.71, -62.92)
CIE-LCHlch(55.90, 90.98, 316.24°)
OKLaboklab(64.85% 0.1528 -0.1776)
OKLCHoklch(64.85% 0.234 310.7)
XYZxyz(40.2996, 23.8138, 88.8421)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB56F5 #90F556
analogous
#6B56F5 #BB56F5 #F556E0
triadic
#BB56F5 #F5BB56 #56F5BB
tetradic
#BB56F5 #F56B56 #90F556 #56E0F5
square
#BB56F5 #F56B56 #90F556 #56E0F5
split-complementary
#BB56F5 #E0F556 #56F56B
monochromatic
#810CC5 #A41CF2 #BB56F5 #D290F8 #E9CAFC

Accessibility & contrast

On white

3.64
#BB56F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#BB56F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB56F5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB56F5#FFFFFF#000000##000000
##BB56F51.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#4288F1
Tritanopia (blue-blind)
#B3769E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb56f5;
/* rgb */ color: rgb(187, 86, 245);
/* oklch */ color: oklch(64.8% 0.234 310.7);
Tailwind
colors: {
  custom: {
    50: '#d48cf9',
    500: '#bb56f5',
    950: '#000000',
  },
}
SCSS
$custom: #bb56f5;
$custom-light: #d48cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb56f5",
  "rgb": {
    "r": 187,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 278.113,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64848,
    "c": 0.23426,
    "h": 310.7
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#BB56F5
secondary
#CCEFB8
accent
#E50054
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #BB56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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