#BB51F6#BB51F6

#BB51F6 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.4% C 0.241 H 310.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BB51F6
RGBrgb(187, 81, 246)
HSLhsl(279, 90%, 64%)
HSVhsv(279, 67%, 96%)
CMYKcmyk(24%, 67.1%, 0%, 3.5%)
CIE-LABlab(55.18, 68.10, -64.64)
CIE-LCHlch(55.18, 93.89, 316.49°)
OKLaboklab(64.35% 0.158 -0.1826)
OKLCHoklch(64.35% 0.241 310.9)
XYZxyz(40.0673, 23.1044, 89.5198)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB51F6 #8CF651
analogous
#6951F6 #BB51F6 #F651DF
triadic
#BB51F6 #F6BB51 #51F6BB
tetradic
#BB51F6 #F66951 #8CF651 #51DFF6
square
#BB51F6 #F66951 #8CF651 #51DFF6
split-complementary
#BB51F6 #DFF651 #51F669
monochromatic
#810AC3 #A417F3 #BB51F6 #D28BF9 #E8C5FC

Accessibility & contrast

On white

3.74
#BB51F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#BB51F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB51F6
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB51F6#FFFFFF#000000##000000
##BB51F61.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#B3749D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb51f6;
/* rgb */ color: rgb(187, 81, 246);
/* oklch */ color: oklch(64.4% 0.241 310.9);
Tailwind
colors: {
  custom: {
    50: '#d489fa',
    500: '#bb51f6',
    950: '#000000',
  },
}
SCSS
$custom: #bb51f6;
$custom-light: #d489fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb51f6",
  "rgb": {
    "r": 187,
    "g": 81,
    "b": 246
  },
  "hsl": {
    "h": 278.545,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64351,
    "c": 0.24149,
    "h": 310.9
  },
  "luminance": 0.23103
}

Semantic roles & 50–950 ramp

primary
#BB51F6
secondary
#C9EEB5
accent
#E60052
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB51F6

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

Preview Lab → · Contrast checker → · Palette generator →

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