#BB5EA1#BB5EA1

#BB5EA1 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.4% C 0.145 H 339.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB5EA1
RGBrgb(187, 94, 161)
HSLhsl(317, 41%, 55%)
HSVhsv(317, 50%, 73%)
CMYKcmyk(0%, 49.7%, 13.9%, 26.7%)
CIE-LABlab(53.11, 46.03, -19.35)
CIE-LCHlch(53.11, 49.93, 337.20°)
OKLaboklab(61.44% 0.135 -0.0519)
OKLCHoklch(61.44% 0.145 339)
XYZxyz(30.9296, 21.1456, 36.1638)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EA1 #5EBB78
analogous
#A65EBB #BB5EA1 #BB5E73
triadic
#BB5EA1 #A1BB5E #5EA1BB
tetradic
#BB5EA1 #BBA65E #5EBB78 #5E73BB
square
#BB5EA1 #BBA65E #5EBB78 #5E73BB
split-complementary
#BB5EA1 #73BB5E #5EBBA6
monochromatic
#702F5D #9B4182 #BB5EA1 #CD89BA #DFB4D3

Accessibility & contrast

On white

4.02
#BB5EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BB5EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EA1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EA1#FFFFFF#000000##000000
##BB5EA11.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6176A3
Deuteranopia (green-blind)
#7B849E
Tritanopia (blue-blind)
#C46078
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ea1;
/* rgb */ color: rgb(187, 94, 161);
/* oklch */ color: oklch(61.4% 0.145 339.0);
Tailwind
colors: {
  custom: {
    50: '#d18fbd',
    500: '#bb5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ea1;
$custom-light: #d18fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ea1",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 316.774,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61441,
    "c": 0.14464,
    "h": 339
  },
  "luminance": 0.21143
}

Semantic roles & 50–950 ramp

primary
#BB5EA1
secondary
#A7CEB2
accent
#D07957
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140D12
muted
#837D81

Preview Lab

Preview with #BB5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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