#BB51FC#BB51FC

#BB51FC is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.7% C 0.247 H 309.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BB51FC
RGBrgb(187, 81, 252)
HSLhsl(277, 97%, 65%)
HSVhsv(277, 68%, 99%)
CMYKcmyk(25.8%, 67.9%, 0%, 1.2%)
CIE-LABlab(55.56, 69.34, -67.36)
CIE-LCHlch(55.56, 96.67, 315.83°)
OKLaboklab(64.75% 0.1574 -0.1906)
OKLCHoklch(64.75% 0.247 309.6)
XYZxyz(41.0032, 23.4787, 94.4484)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51FC #92FC51
analogous
#6551FC #BB51FC #FC51E7
triadic
#BB51FC #FCBB51 #51FCBB
tetradic
#BB51FC #FC6551 #92FC51 #51E7FC
square
#BB51FC #FC6551 #92FC51 #51E7FC
split-complementary
#BB51FC #E7FC51 #51FC65
monochromatic
#8204CF #A315FB #BB51FC #D38DFD #EAC9FE

Accessibility & contrast

On white

3.69
#BB51FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#BB51FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51FC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51FC#FFFFFF#000000##000000
##BB51FC1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#3287F8
Tritanopia (blue-blind)
#B276A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb51fc;
/* rgb */ color: rgb(187, 81, 252);
/* oklch */ color: oklch(64.7% 0.247 309.6);
Tailwind
colors: {
  custom: {
    50: '#d489fe',
    500: '#bb51fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb51fc;
$custom-light: #d489fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51fc",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 277.193,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.2472,
    "h": 309.6
  },
  "luminance": 0.23478
}

Semantic roles & 50–950 ramp

primary
#BB51FC
secondary
#CDF1B8
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BB51FC

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

Preview Lab → · Contrast checker → · Palette generator →

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