#BB30E2#BB30E2

#BB30E2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 60.1% C 0.259 H 317.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BB30E2
RGBrgb(187, 48, 226)
HSLhsl(287, 75%, 54%)
HSVhsv(287, 79%, 89%)
CMYKcmyk(17.3%, 78.8%, 0%, 11.4%)
CIE-LABlab(49.70, 76.12, -62.23)
CIE-LCHlch(49.70, 98.32, 320.73°)
OKLaboklab(60.05% 0.1903 -0.1753)
OKLCHoklch(60.05% 0.259 317.3)
XYZxyz(35.2759, 18.1713, 73.5860)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30E2 #57E230
analogous
#6230E2 #BB30E2 #E230B0
triadic
#BB30E2 #E2BB30 #30E2BB
tetradic
#BB30E2 #E26230 #57E230 #30B0E2
square
#BB30E2 #E26230 #57E230 #30B0E2
split-complementary
#BB30E2 #B0E230 #30E262
monochromatic
#6C1385 #971ABB #BB30E2 #CD66EA #DE9BF1

Accessibility & contrast

On white

4.53
#BB30E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BB30E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB30E2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30E2#FFFFFF#000000##000000
##BB30E21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#347ADE
Tritanopia (blue-blind)
#B9598A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb30e2;
/* rgb */ color: rgb(187, 48, 226);
/* oklch */ color: oklch(60.1% 0.259 317.3);
Tailwind
colors: {
  custom: {
    50: '#d479ec',
    500: '#bb30e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb30e2;
$custom-light: #d479ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30e2",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 226
  },
  "hsl": {
    "h": 286.854,
    "s": 75.424,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60053,
    "c": 0.25873,
    "h": 317.3
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#BB30E2
secondary
#A2DD91
accent
#F2365F
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB30E2

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

Preview Lab → · Contrast checker → · Palette generator →

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