#BB5FA6#BB5FA6

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

Color values

HEX#BB5FA6
RGBrgb(187, 95, 166)
HSLhsl(314, 40%, 55%)
HSVhsv(314, 49%, 73%)
CMYKcmyk(0%, 49.2%, 11.2%, 26.7%)
CIE-LABlab(53.50, 46.34, -21.68)
CIE-LCHlch(53.50, 51.16, 334.93°)
OKLaboklab(61.79% 0.1347 -0.0584)
OKLCHoklch(61.79% 0.147 336.5)
XYZxyz(31.4688, 21.5045, 38.5623)
Luminance0.2150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FA6 #5FBB74
analogous
#A25FBB #BB5FA6 #BB5F78
triadic
#BB5FA6 #A6BB5F #5FA6BB
tetradic
#BB5FA6 #BBA25F #5FBB74 #5F78BB
square
#BB5FA6 #BBA25F #5FBB74 #5F78BB
split-complementary
#BB5FA6 #78BB5F #5FBBA2
monochromatic
#703061 #9B4287 #BB5FA6 #CD8ABE #E0B5D6

Accessibility & contrast

On white

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

On black

5.30
#BB5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FA6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FA6#FFFFFF#000000##000000
##BB5FA61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb5fa6;
/* rgb */ color: rgb(187, 95, 166);
/* oklch */ color: oklch(61.8% 0.147 336.5);
Tailwind
colors: {
  custom: {
    50: '#d18fc0',
    500: '#bb5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fa6;
$custom-light: #d18fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fa6",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 313.696,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.14686,
    "h": 336.5
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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