#BB30AA#BB30AA

#BB30AA is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.7% C 0.216 H 333.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB30AA
RGBrgb(187, 48, 170)
HSLhsl(307, 59%, 46%)
HSVhsv(307, 74%, 73%)
CMYKcmyk(0%, 74.3%, 9.1%, 26.7%)
CIE-LABlab(46.42, 66.79, -35.03)
CIE-LCHlch(46.42, 75.42, 332.32°)
OKLaboklab(56.67% 0.1934 -0.096)
OKLCHoklch(56.67% 0.216 333.6)
XYZxyz(28.8064, 15.5835, 39.5132)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30AA #30BB41
analogous
#8630BB #BB30AA #BB3064
triadic
#BB30AA #AABB30 #30AABB
tetradic
#BB30AA #BB8630 #30BB41 #3064BB
square
#BB30AA #BB8630 #30BB41 #3064BB
split-complementary
#BB30AA #64BB30 #30BB86
monochromatic
#5A1751 #8A237E #BB30AA #D355C4 #E086D5

Accessibility & contrast

On white

5.10
#BB30AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BB30AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30AA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30AA#FFFFFF#000000##FFFFFF
##BB30AA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AD
Deuteranopia (green-blind)
#6075A7
Tritanopia (blue-blind)
#C43E6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb30aa;
/* rgb */ color: rgb(187, 48, 170);
/* oklch */ color: oklch(56.7% 0.216 333.6);
Tailwind
colors: {
  custom: {
    50: '#d377c3',
    500: '#bb30aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb30aa;
$custom-light: #d377c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30aa",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 307.338,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.21593,
    "h": 333.6
  },
  "luminance": 0.15581
}

Semantic roles & 50–950 ramp

primary
#BB30AA
secondary
#7DC987
accent
#E25945
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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