#BB27C4#BB27C4

#BB27C4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.243 H 325.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB27C4
RGBrgb(187, 39, 196)
HSLhsl(297, 67%, 46%)
HSVhsv(297, 80%, 77%)
CMYKcmyk(4.6%, 80.1%, 0%, 23.1%)
CIE-LABlab(46.98, 73.38, -49.39)
CIE-LCHlch(46.98, 88.46, 326.06°)
OKLaboklab(57.53% 0.2003 -0.1377)
OKLCHoklch(57.53% 0.243 325.5)
XYZxyz(31.1821, 16.0035, 53.6605)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27C4 #30C427
analogous
#6D27C4 #BB27C4 #C4277E
triadic
#BB27C4 #C4BB27 #27C4BB
tetradic
#BB27C4 #C46D27 #30C427 #277EC4
square
#BB27C4 #C46D27 #30C427 #277EC4
split-complementary
#BB27C4 #7EC427 #27C46D
monochromatic
#5A135E #8A1D91 #BB27C4 #D34DDC #E080E6

Accessibility & contrast

On white

5.00
#BB27C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BB27C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27C4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27C4#FFFFFF#000000##FFFFFF
##BB27C41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#BF4677
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb27c4;
/* rgb */ color: rgb(187, 39, 196);
/* oklch */ color: oklch(57.5% 0.243 325.5);
Tailwind
colors: {
  custom: {
    50: '#d474d6',
    500: '#bb27c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb27c4;
$custom-light: #d474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27c4",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 296.561,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.24309,
    "h": 325.5
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#BB27C4
secondary
#7DCE79
accent
#EA3E48
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB27C4

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

Preview Lab → · Contrast checker → · Palette generator →

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