#BB30AF#BB30AF

#BB30AF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.220 H 331.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB30AF
RGBrgb(187, 48, 175)
HSLhsl(305, 59%, 46%)
HSVhsv(305, 74%, 73%)
CMYKcmyk(0%, 74.3%, 6.4%, 26.7%)
CIE-LABlab(46.68, 67.55, -37.58)
CIE-LCHlch(46.68, 77.30, 330.91°)
OKLaboklab(56.94% 0.1936 -0.1034)
OKLCHoklch(56.94% 0.22 331.9)
XYZxyz(29.2884, 15.7763, 42.0517)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30AF #30BB3C
analogous
#8130BB #BB30AF #BB3069
triadic
#BB30AF #AFBB30 #30AFBB
tetradic
#BB30AF #BB8130 #30BB3C #3069BB
square
#BB30AF #BB8130 #30BB3C #3069BB
split-complementary
#BB30AF #69BB30 #30BB81
monochromatic
#5A1754 #8A2381 #BB30AF #D355C8 #E086D8

Accessibility & contrast

On white

5.05
#BB30AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB30AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30AF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30AF#FFFFFF#000000##FFFFFF
##BB30AF1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#C3406D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb30af;
/* rgb */ color: rgb(187, 48, 175);
/* oklch */ color: oklch(56.9% 0.220 331.9);
Tailwind
colors: {
  custom: {
    50: '#d377c7',
    500: '#bb30af',
    950: '#000000',
  },
}
SCSS
$custom: #bb30af;
$custom-light: #d377c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30af",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 305.18,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.21951,
    "h": 331.9
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#BB30AF
secondary
#7DC984
accent
#E25345
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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