#BB5EA7#BB5EA7

#BB5EA7 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.149 H 336.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB5EA7
RGBrgb(187, 94, 167)
HSLhsl(313, 41%, 55%)
HSVhsv(313, 50%, 73%)
CMYKcmyk(0%, 49.7%, 10.7%, 26.7%)
CIE-LABlab(53.34, 47.01, -22.50)
CIE-LCHlch(53.34, 52.12, 334.43°)
OKLaboklab(61.69% 0.1364 -0.0607)
OKLCHoklch(61.69% 0.149 336)
XYZxyz(31.4714, 21.3623, 39.0175)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EA7 #5EBB72
analogous
#A05EBB #BB5EA7 #BB5E79
triadic
#BB5EA7 #A7BB5E #5EA7BB
tetradic
#BB5EA7 #BBA05E #5EBB72 #5E79BB
square
#BB5EA7 #BBA05E #5EBB72 #5E79BB
split-complementary
#BB5EA7 #79BB5E #5EBBA0
monochromatic
#702F62 #9B4187 #BB5EA7 #CD89BF #DFB4D6

Accessibility & contrast

On white

3.98
#BB5EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BB5EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EA7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EA7#FFFFFF#000000##000000
##BB5EA71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F77A9
Deuteranopia (green-blind)
#7985A4
Tritanopia (blue-blind)
#C3627B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5ea7;
/* rgb */ color: rgb(187, 94, 167);
/* oklch */ color: oklch(61.7% 0.149 336.0);
Tailwind
colors: {
  custom: {
    50: '#d18fc1',
    500: '#bb5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ea7;
$custom-light: #d18fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ea7",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 312.903,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.14935,
    "h": 336
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#BB5EA7
secondary
#A7CEAF
accent
#D07157
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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