#BB5FB1#BB5FB1

#BB5FB1 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.3% C 0.156 H 331.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BB5FB1
RGBrgb(187, 95, 177)
HSLhsl(307, 40%, 55%)
HSVhsv(307, 49%, 73%)
CMYKcmyk(0%, 49.2%, 5.3%, 26.7%)
CIE-LABlab(53.95, 48.21, -27.38)
CIE-LCHlch(53.95, 55.45, 330.41°)
OKLaboklab(62.28% 0.1371 -0.0746)
OKLCHoklch(62.28% 0.156 331.5)
XYZxyz(32.5213, 21.9255, 44.1055)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FB1 #5FBB69
analogous
#975FBB #BB5FB1 #BB5F83
triadic
#BB5FB1 #B1BB5F #5FB1BB
tetradic
#BB5FB1 #BB975F #5FBB69 #5F83BB
square
#BB5FB1 #BB975F #5FBB69 #5F83BB
split-complementary
#BB5FB1 #83BB5F #5FBB97
monochromatic
#703069 #9B4291 #BB5FB1 #CD8AC6 #E0B5DB

Accessibility & contrast

On white

3.90
#BB5FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BB5FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FB1
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FB1#FFFFFF#000000##000000
##BB5FB11.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B4
Deuteranopia (green-blind)
#7686AE
Tritanopia (blue-blind)
#C26680
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb5fb1;
/* rgb */ color: rgb(187, 95, 177);
/* oklch */ color: oklch(62.3% 0.156 331.5);
Tailwind
colors: {
  custom: {
    50: '#d190c8',
    500: '#bb5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fb1;
$custom-light: #d190c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fb1",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 306.522,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62277,
    "c": 0.15607,
    "h": 331.5
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#BB5FB1
secondary
#A8CEAC
accent
#D06558
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #BB5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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