#BB2EFF#BB2EFF

#BB2EFF is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 62.0% C 0.284 H 310.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#BB2EFF
RGBrgb(187, 46, 255)
HSLhsl(280, 100%, 59%)
HSVhsv(280, 82%, 100%)
CMYKcmyk(26.7%, 82%, 0%, 0%)
CIE-LABlab(51.54, 82.05, -75.54)
CIE-LCHlch(51.54, 111.53, 317.37°)
OKLaboklab(61.98% 0.1857 -0.2144)
OKLCHoklch(61.98% 0.284 310.9)
XYZxyz(39.5170, 19.7398, 96.3168)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EFF #72FF2E
analogous
#532EFF #BB2EFF #FF2EDB
triadic
#BB2EFF #FFBB2E #2EFFBB
tetradic
#BB2EFF #FF532E #72FF2E #2EDBFF
square
#BB2EFF #FF532E #72FF2E #2EDBFF
split-complementary
#BB2EFF #DBFF2E #2EFF53
monochromatic
#7800B3 #A200F0 #BB2EFF #CF6BFF #E3A8FF

Accessibility & contrast

On white

4.24
#BB2EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#BB2EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB2EFF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EFF#FFFFFF#000000##000000
##BB2EFF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#B2669A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb2eff;
/* rgb */ color: rgb(187, 46, 255);
/* oklch */ color: oklch(62.0% 0.284 310.9);
Tailwind
colors: {
  custom: {
    50: '#d67aff',
    500: '#bb2eff',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eff;
$custom-light: #d67aff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eff",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 280.478,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.28364,
    "h": 310.9
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#BB2EFF
secondary
#B6ED9B
accent
#FF296E
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150A18
muted
#837C86

Preview Lab

Preview with #BB2EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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