#BB30D3#BB30D3

#BB30D3 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.1% C 0.247 H 321.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BB30D3
RGBrgb(187, 48, 211)
HSLhsl(291, 65%, 51%)
HSVhsv(291, 77%, 83%)
CMYKcmyk(11.4%, 77.3%, 0%, 17.3%)
CIE-LABlab(48.74, 73.46, -55.23)
CIE-LCHlch(48.74, 91.90, 323.06°)
OKLaboklab(59.07% 0.1923 -0.1548)
OKLCHoklch(59.07% 0.247 321.2)
XYZxyz(33.3070, 17.3837, 63.2164)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30D3 #48D330
analogous
#6A30D3 #BB30D3 #D33099
triadic
#BB30D3 #D3BB30 #30D3BB
tetradic
#BB30D3 #D36A30 #48D330 #3099D3
square
#BB30D3 #D36A30 #48D330 #3099D3
split-complementary
#BB30D3 #99D330 #30D36A
monochromatic
#641871 #9023A3 #BB30D3 #CC62DE #DC95E8

Accessibility & contrast

On white

4.69
#BB30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BB30D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30D3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30D3#FFFFFF#000000##FFFFFF
##BB30D31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#4579CF
Tritanopia (blue-blind)
#BC5281
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb30d3;
/* rgb */ color: rgb(187, 48, 211);
/* oklch */ color: oklch(59.1% 0.247 321.2);
Tailwind
colors: {
  custom: {
    50: '#d478e1',
    500: '#bb30d3',
    950: '#000000',
  },
}
SCSS
$custom: #bb30d3;
$custom-light: #d478e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30d3",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 291.166,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.24684,
    "h": 321.2
  },
  "luminance": 0.17382
}

Semantic roles & 50–950 ramp

primary
#BB30D3
secondary
#96D48B
accent
#E84059
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BB30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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