#BB5FB5#BB5FB5

#BB5FB5 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.5% C 0.160 H 329.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BB5FB5
RGBrgb(187, 95, 181)
HSLhsl(304, 40%, 55%)
HSVhsv(304, 49%, 73%)
CMYKcmyk(0%, 49.2%, 3.2%, 26.7%)
CIE-LABlab(54.12, 48.92, -29.43)
CIE-LCHlch(54.12, 57.09, 328.97°)
OKLaboklab(62.46% 0.1379 -0.0804)
OKLCHoklch(62.46% 0.16 329.8)
XYZxyz(32.9259, 22.0873, 46.2361)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FB5 #5FBB65
analogous
#935FBB #BB5FB5 #BB5F87
triadic
#BB5FB5 #B5BB5F #5FB5BB
tetradic
#BB5FB5 #BB935F #5FBB65 #5F87BB
square
#BB5FB5 #BB935F #5FBB65 #5F87BB
split-complementary
#BB5FB5 #87BB5F #5FBB93
monochromatic
#70306C #9B4295 #BB5FB5 #CD8AC9 #E0B5DD

Accessibility & contrast

On white

3.88
#BB5FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BB5FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FB5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FB5#FFFFFF#000000##000000
##BB5FB51.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B8
Deuteranopia (green-blind)
#7486B2
Tritanopia (blue-blind)
#C16782
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb5fb5;
/* rgb */ color: rgb(187, 95, 181);
/* oklch */ color: oklch(62.5% 0.160 329.8);
Tailwind
colors: {
  custom: {
    50: '#d190cb',
    500: '#bb5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fb5;
$custom-light: #d190cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fb5",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 303.913,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.1596,
    "h": 329.8
  },
  "luminance": 0.22085
}

Semantic roles & 50–950 ramp

primary
#BB5FB5
secondary
#A8CEAA
accent
#D05F58
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #BB5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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