#BB30D7#BB30D7

#BB30D7 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.3% C 0.250 H 320.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BB30D7
RGBrgb(187, 48, 215)
HSLhsl(290, 68%, 52%)
HSVhsv(290, 78%, 84%)
CMYKcmyk(13%, 77.7%, 0%, 15.7%)
CIE-LABlab(48.99, 74.16, -57.11)
CIE-LCHlch(48.99, 93.60, 322.40°)
OKLaboklab(59.33% 0.1918 -0.1603)
OKLCHoklch(59.33% 0.25 320.1)
XYZxyz(33.8147, 17.5868, 65.8903)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB30D7 #4CD730
analogous
#6830D7 #BB30D7 #D730A0
triadic
#BB30D7 #D7BB30 #30D7BB
tetradic
#BB30D7 #D76830 #4CD730 #30A0D7
square
#BB30D7 #D76830 #4CD730 #30A0D7
split-complementary
#BB30D7 #A0D730 #30D768
monochromatic
#661776 #9221A9 #BB30D7 #CC63E1 #DD97EB

Accessibility & contrast

On white

4.65
#BB30D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BB30D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB30D7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB30D7#FFFFFF#000000##FFFFFF
##BB30D71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#BC5484
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb30d7;
/* rgb */ color: rgb(187, 48, 215);
/* oklch */ color: oklch(59.3% 0.250 320.1);
Tailwind
colors: {
  custom: {
    50: '#d479e4',
    500: '#bb30d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb30d7;
$custom-light: #d479e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb30d7",
  "rgb": {
    "r": 187,
    "g": 48,
    "b": 215
  },
  "hsl": {
    "h": 289.94,
    "s": 67.611,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.24999,
    "h": 320.1
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#BB30D7
secondary
#99D68D
accent
#EA3D5A
background
#FDF7FE
surface
#FBEEFC
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB30D7

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

Preview Lab → · Contrast checker → · Palette generator →

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