#BB54E7#BB54E7

#BB54E7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.223 H 314.2°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#BB54E7
RGBrgb(187, 84, 231)
HSLhsl(282, 75%, 62%)
HSVhsv(282, 64%, 91%)
CMYKcmyk(19%, 63.6%, 0%, 9.4%)
CIE-LABlab(54.74, 63.72, -56.96)
CIE-LCHlch(54.74, 85.46, 318.20°)
OKLaboklab(63.74% 0.1557 -0.1601)
OKLCHoklch(63.74% 0.223 314.2)
XYZxyz(38.0852, 22.6762, 77.9565)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54E7 #80E754
analogous
#7254E7 #BB54E7 #E754CA
triadic
#BB54E7 #E7BB54 #54E7BB
tetradic
#BB54E7 #E77254 #80E754 #54CAE7
square
#BB54E7 #E77254 #80E754 #54CAE7
split-complementary
#BB54E7 #CAE754 #54E772
monochromatic
#7D18A9 #A51FDF #BB54E7 #D08AEF #E6BFF6

Accessibility & contrast

On white

3.79
#BB54E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#BB54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54E7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54E7#FFFFFF#000000##000000
##BB54E71.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#107DEB
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#B77096
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb54e7;
/* rgb */ color: rgb(187, 84, 231);
/* oklch */ color: oklch(63.7% 0.223 314.2);
Tailwind
colors: {
  custom: {
    50: '#d38aef',
    500: '#bb54e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb54e7;
$custom-light: #d38aef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54e7",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 282.041,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63741,
    "c": 0.22333,
    "h": 314.2
  },
  "luminance": 0.22675
}

Semantic roles & 50–950 ramp

primary
#BB54E7
secondary
#C0E7B0
accent
#D80E4A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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