#BB27E2#BB27E2

#BB27E2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.5% C 0.266 H 317.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BB27E2
RGBrgb(187, 39, 226)
HSLhsl(287, 76%, 52%)
HSVhsv(287, 83%, 89%)
CMYKcmyk(17.3%, 82.7%, 0%, 11.4%)
CIE-LABlab(48.89, 78.48, -63.54)
CIE-LCHlch(48.89, 100.97, 321.00°)
OKLaboklab(59.49% 0.1963 -0.1791)
OKLCHoklch(59.49% 0.266 317.6)
XYZxyz(34.9445, 17.5084, 73.4755)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB27E2 #4EE227
analogous
#5E27E2 #BB27E2 #E227AB
triadic
#BB27E2 #E2BB27 #27E2BB
tetradic
#BB27E2 #E25E27 #4EE227 #27ABE2
square
#BB27E2 #E25E27 #4EE227 #27ABE2
split-complementary
#BB27E2 #ABE227 #27E25E
monochromatic
#67117E #9318B4 #BB27E2 #CC5DE9 #DD93F0

Accessibility & contrast

On white

4.67
#BB27E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BB27E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB27E2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB27E2#FFFFFF#000000##FFFFFF
##BB27E21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#2D78DE
Tritanopia (blue-blind)
#B95688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb27e2;
/* rgb */ color: rgb(187, 39, 226);
/* oklch */ color: oklch(59.5% 0.266 317.6);
Tailwind
colors: {
  custom: {
    50: '#d576ec',
    500: '#bb27e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb27e2;
$custom-light: #d576ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb27e2",
  "rgb": {
    "r": 187,
    "g": 39,
    "b": 226
  },
  "hsl": {
    "h": 287.487,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.26574,
    "h": 317.6
  },
  "luminance": 0.17507
}

Semantic roles & 50–950 ramp

primary
#BB27E2
secondary
#9BDB89
accent
#F3355D
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB27E2

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

Preview Lab → · Contrast checker → · Palette generator →

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