#BB4EFB#BB4EFB

#BB4EFB is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.4% C 0.250 H 310.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BB4EFB
RGBrgb(187, 78, 251)
HSLhsl(278, 96%, 65%)
HSVhsv(278, 69%, 98%)
CMYKcmyk(25.5%, 68.9%, 0%, 1.6%)
CIE-LABlab(55.05, 70.39, -67.63)
CIE-LCHlch(55.05, 97.61, 316.15°)
OKLaboklab(64.36% 0.1606 -0.1913)
OKLCHoklch(64.36% 0.25 310)
XYZxyz(40.6271, 22.9795, 93.5434)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EFB #8EFB4E
analogous
#644EFB #BB4EFB #FB4EE5
triadic
#BB4EFB #FBBB4E #4EFBBB
tetradic
#BB4EFB #FB644E #8EFB4E #4EE5FB
square
#BB4EFB #FB644E #8EFB4E #4EE5FB
split-complementary
#BB4EFB #E5FB4E #4EFB64
monochromatic
#8105CA #A412FA #BB4EFB #D28AFC #E9C6FE

Accessibility & contrast

On white

3.75
#BB4EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#BB4EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EFB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EFB#FFFFFF#000000##000000
##BB4EFB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#2F85F7
Tritanopia (blue-blind)
#B2749F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #bb4efb;
/* rgb */ color: rgb(187, 78, 251);
/* oklch */ color: oklch(64.4% 0.250 310.0);
Tailwind
colors: {
  custom: {
    50: '#d488fe',
    500: '#bb4efb',
    950: '#000000',
  },
}
SCSS
$custom: #bb4efb;
$custom-light: #d488fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4efb",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 251
  },
  "hsl": {
    "h": 277.803,
    "s": 95.58,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64361,
    "c": 0.24979,
    "h": 310
  },
  "luminance": 0.22979
}

Semantic roles & 50–950 ramp

primary
#BB4EFB
secondary
#CBF0B5
accent
#E60055
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BB4EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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