#BB54C2#BB54C2

#BB54C2 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.189 H 325.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BB54C2
RGBrgb(187, 84, 194)
HSLhsl(296, 47%, 55%)
HSVhsv(296, 57%, 76%)
CMYKcmyk(3.6%, 56.7%, 0%, 23.9%)
CIE-LABlab(52.73, 56.58, -39.10)
CIE-LCHlch(52.73, 68.78, 325.35°)
OKLaboklab(61.64% 0.1546 -0.1081)
OKLCHoklch(61.64% 0.189 325)
XYZxyz(33.4007, 20.8023, 53.2844)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB54C2 #5BC254
analogous
#8454C2 #BB54C2 #C25492
triadic
#BB54C2 #C2BB54 #54C2BB
tetradic
#BB54C2 #C28454 #5BC254 #5492C2
square
#BB54C2 #C28454 #5BC254 #5492C2
split-complementary
#BB54C2 #92C254 #54C284
monochromatic
#6E2973 #9939A0 #BB54C2 #CD81D2 #DFAEE2

Accessibility & contrast

On white

4.07
#BB54C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#BB54C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB54C2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB54C2#FFFFFF#000000##000000
##BB54C21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4476C5
Deuteranopia (green-blind)
#6782BF
Tritanopia (blue-blind)
#BF6283
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb54c2;
/* rgb */ color: rgb(187, 84, 194);
/* oklch */ color: oklch(61.6% 0.189 325.0);
Tailwind
colors: {
  custom: {
    50: '#d289d5',
    500: '#bb54c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb54c2;
$custom-light: #d289d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb54c2",
  "rgb": {
    "r": 187,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 296.182,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.18866,
    "h": 325
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#BB54C2
secondary
#A5D0A2
accent
#D75159
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB54C2

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

Preview Lab → · Contrast checker → · Palette generator →

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