#BB51F1#BB51F1

#BB51F1 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.0% C 0.237 H 312.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BB51F1
RGBrgb(187, 81, 241)
HSLhsl(280, 85%, 63%)
HSVhsv(280, 66%, 95%)
CMYKcmyk(22.4%, 66.4%, 0%, 5.5%)
CIE-LABlab(54.87, 67.07, -62.35)
CIE-LCHlch(54.87, 91.57, 317.09°)
OKLaboklab(64.03% 0.1585 -0.1759)
OKLCHoklch(64.03% 0.237 312)
XYZxyz(39.3102, 22.8016, 85.5324)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51F1 #87F151
analogous
#6B51F1 #BB51F1 #F151D7
triadic
#BB51F1 #F1BB51 #51F1BB
tetradic
#BB51F1 #F16B51 #87F151 #51D7F1
square
#BB51F1 #F16B51 #87F151 #51D7F1
split-complementary
#BB51F1 #D7F151 #51F16B
monochromatic
#7F0FB9 #A518EC #BB51F1 #D18AF6 #E7C2FA

Accessibility & contrast

On white

3.78
#BB51F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#BB51F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51F1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51F1#FFFFFF#000000##000000
##BB51F11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#B5729B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb51f1;
/* rgb */ color: rgb(187, 81, 241);
/* oklch */ color: oklch(64.0% 0.237 312.0);
Tailwind
colors: {
  custom: {
    50: '#d489f6',
    500: '#bb51f1',
    950: '#000000',
  },
}
SCSS
$custom: #bb51f1;
$custom-light: #d489f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51f1",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 241
  },
  "hsl": {
    "h": 279.75,
    "s": 85.106,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64027,
    "c": 0.23674,
    "h": 312
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#BB51F1
secondary
#C6ECB2
accent
#E2044F
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB51F1

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

Preview Lab → · Contrast checker → · Palette generator →

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