#BB5FA7#BB5FA7

#BB5FA7 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.148 H 336.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BB5FA7
RGBrgb(187, 95, 167)
HSLhsl(313, 40%, 55%)
HSVhsv(313, 49%, 73%)
CMYKcmyk(0%, 49.2%, 10.7%, 26.7%)
CIE-LABlab(53.54, 46.51, -22.20)
CIE-LCHlch(53.54, 51.54, 334.48°)
OKLaboklab(61.84% 0.135 -0.0599)
OKLCHoklch(61.84% 0.148 336.1)
XYZxyz(31.5609, 21.5413, 39.0473)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA7 #5FBB73
analogous
#A15FBB #BB5FA7 #BB5F79
triadic
#BB5FA7 #A7BB5F #5FA7BB
tetradic
#BB5FA7 #BBA15F #5FBB73 #5F79BB
square
#BB5FA7 #BBA15F #5FBB73 #5F79BB
split-complementary
#BB5FA7 #79BB5F #5FBBA1
monochromatic
#703062 #9B4288 #BB5FA7 #CD8ABF #E0B5D6

Accessibility & contrast

On white

3.96
#BB5FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#BB5FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FA7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FA7#FFFFFF#000000##000000
##BB5FA71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077A9
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#C3637B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5fa7;
/* rgb */ color: rgb(187, 95, 167);
/* oklch */ color: oklch(61.8% 0.148 336.1);
Tailwind
colors: {
  custom: {
    50: '#d190c1',
    500: '#bb5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa7;
$custom-light: #d190c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa7",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 313.043,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.14767,
    "h": 336.1
  },
  "luminance": 0.21539
}

Semantic roles & 50–950 ramp

primary
#BB5FA7
secondary
#A8CEB0
accent
#D07258
background
#FDF9FB
surface
#FAF1F7
border
#D3CBD0
text
#140D12
muted
#837E81

Preview Lab

Preview with #BB5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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