#BB34E2#BB34E2

#BB34E2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.3% C 0.255 H 317.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BB34E2
RGBrgb(187, 52, 226)
HSLhsl(287, 75%, 55%)
HSVhsv(287, 77%, 89%)
CMYKcmyk(17.3%, 77%, 0%, 11.4%)
CIE-LABlab(50.11, 74.93, -61.57)
CIE-LCHlch(50.11, 96.98, 320.59°)
OKLaboklab(60.34% 0.1872 -0.1734)
OKLCHoklch(60.34% 0.255 317.2)
XYZxyz(35.4469, 18.5133, 73.6430)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB34E2 #5BE234
analogous
#6434E2 #BB34E2 #E234B2
triadic
#BB34E2 #E2BB34 #34E2BB
tetradic
#BB34E2 #E26434 #5BE234 #34B2E2
square
#BB34E2 #E26434 #5BE234 #34B2E2
split-complementary
#BB34E2 #B2E234 #34E264
monochromatic
#6E1388 #991BBE #BB34E2 #CD6AEA #DF9FF1

Accessibility & contrast

On white

4.47
#BB34E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BB34E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB34E2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB34E2#FFFFFF#000000##000000
##BB34E21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#B95B8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb34e2;
/* rgb */ color: rgb(187, 52, 226);
/* oklch */ color: oklch(60.3% 0.255 317.2);
Tailwind
colors: {
  custom: {
    50: '#d47bec',
    500: '#bb34e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb34e2;
$custom-light: #d47bec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb34e2",
  "rgb": {
    "r": 187,
    "g": 52,
    "b": 226
  },
  "hsl": {
    "h": 286.552,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60342,
    "c": 0.2552,
    "h": 317.2
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#BB34E2
secondary
#A5DE94
accent
#F23660
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB34E2

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

Preview Lab → · Contrast checker → · Palette generator →

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