#BB2EA5#BB2EA5

#BB2EA5 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.214 H 335.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB2EA5
RGBrgb(187, 46, 165)
HSLhsl(309, 61%, 46%)
HSVhsv(309, 75%, 73%)
CMYKcmyk(0%, 75.4%, 11.8%, 26.7%)
CIE-LABlab(45.96, 66.67, -32.79)
CIE-LCHlch(45.96, 74.30, 333.81°)
OKLaboklab(56.26% 0.1949 -0.0896)
OKLCHoklch(56.26% 0.214 335.3)
XYZxyz(28.2624, 15.2379, 37.0428)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EA5 #2EBB44
analogous
#8A2EBB #BB2EA5 #BB2E5E
triadic
#BB2EA5 #A5BB2E #2EA5BB
tetradic
#BB2EA5 #BB8A2E #2EBB44 #2E5EBB
square
#BB2EA5 #BB8A2E #2EBB44 #2E5EBB
split-complementary
#BB2EA5 #5EBB2E #2EBB8A
monochromatic
#59164E #8A227A #BB2EA5 #D452C0 #E083D2

Accessibility & contrast

On white

5.19
#BB2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EA5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EA5#FFFFFF#000000##FFFFFF
##BB2EA51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60A8
Deuteranopia (green-blind)
#6174A2
Tritanopia (blue-blind)
#C43A67
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2ea5;
/* rgb */ color: rgb(187, 46, 165);
/* oklch */ color: oklch(56.3% 0.214 335.3);
Tailwind
colors: {
  custom: {
    50: '#d376c0',
    500: '#bb2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ea5;
$custom-light: #d376c0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ea5",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 309.362,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.21449,
    "h": 335.3
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#BB2EA5
secondary
#7BCA87
accent
#E45D44
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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