#BB54E2#BB54E2

#BB54E2 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.219 H 315.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BB54E2
RGBrgb(187, 84, 226)
HSLhsl(284, 71%, 61%)
HSVhsv(284, 63%, 89%)
CMYKcmyk(17.3%, 62.8%, 0%, 11.4%)
CIE-LABlab(54.45, 62.71, -54.61)
CIE-LCHlch(54.45, 83.16, 318.95°)
OKLaboklab(63.44% 0.1558 -0.1532)
OKLCHoklch(63.44% 0.219 315.5)
XYZxyz(37.3891, 22.3977, 74.2904)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54E2 #7BE254
analogous
#7454E2 #BB54E2 #E254C2
triadic
#BB54E2 #E2BB54 #54E2BB
tetradic
#BB54E2 #E27454 #7BE254 #54C2E2
square
#BB54E2 #E27454 #7BE254 #54C2E2
split-complementary
#BB54E2 #C2E254 #54E274
monochromatic
#7C1BA0 #A424D5 #BB54E2 #D088EB #E5BDF4

Accessibility & contrast

On white

3.83
#BB54E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BB54E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54E2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54E2#FFFFFF#000000##000000
##BB54E21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7CE6
Deuteranopia (green-blind)
#5385DF
Tritanopia (blue-blind)
#B86E94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb54e2;
/* rgb */ color: rgb(187, 84, 226);
/* oklch */ color: oklch(63.4% 0.219 315.5);
Tailwind
colors: {
  custom: {
    50: '#d38aec',
    500: '#bb54e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb54e2;
$custom-light: #d38aec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54e2",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 283.521,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63437,
    "c": 0.21853,
    "h": 315.5
  },
  "luminance": 0.22396
}

Semantic roles & 50–950 ramp

primary
#BB54E2
secondary
#BDE4AE
accent
#D31247
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB54E2

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

Preview Lab → · Contrast checker → · Palette generator →

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