#BB5BF2#BB5BF2

#BB5BF2 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.3% C 0.225 H 311.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BB5BF2
RGBrgb(187, 91, 242)
HSLhsl(278, 85%, 65%)
HSVhsv(278, 62%, 95%)
CMYKcmyk(22.7%, 62.4%, 0%, 5.1%)
CIE-LABlab(56.54, 62.81, -60.22)
CIE-LCHlch(56.54, 87.01, 316.21°)
OKLaboklab(65.25% 0.1474 -0.1697)
OKLCHoklch(65.25% 0.225 311)
XYZxyz(40.2586, 24.4587, 86.5874)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BF2 #92F25B
analogous
#705BF2 #BB5BF2 #F25BDD
triadic
#BB5BF2 #F2BB5B #5BF2BB
tetradic
#BB5BF2 #F2705B #92F25B #5BDDF2
square
#BB5BF2 #F2705B #92F25B #5BDDF2
split-complementary
#BB5BF2 #DDF25B #5BF270
monochromatic
#820FC3 #A322EE #BB5BF2 #D394F6 #EACCFB

Accessibility & contrast

On white

3.56
#BB5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BB5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BF2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BF2#FFFFFF#000000##000000
##BB5BF21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#4B89EE
Tritanopia (blue-blind)
#B4789F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5bf2;
/* rgb */ color: rgb(187, 91, 242);
/* oklch */ color: oklch(65.3% 0.225 311.0);
Tailwind
colors: {
  custom: {
    50: '#d38ff7',
    500: '#bb5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bf2;
$custom-light: #d38ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bf2",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 278.146,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65254,
    "c": 0.22474,
    "h": 311
  },
  "luminance": 0.24458
}

Semantic roles & 50–950 ramp

primary
#BB5BF2
secondary
#CDEEBB
accent
#E20455
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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