#BB5FB9#BB5FB9

#BB5FB9 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.6% C 0.163 H 328.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BB5FB9
RGBrgb(187, 95, 185)
HSLhsl(301, 40%, 55%)
HSVhsv(301, 49%, 73%)
CMYKcmyk(0%, 49.2%, 1.1%, 26.7%)
CIE-LABlab(54.30, 49.63, -31.47)
CIE-LCHlch(54.30, 58.77, 327.63°)
OKLaboklab(62.65% 0.1386 -0.0862)
OKLCHoklch(62.65% 0.163 328.1)
XYZxyz(33.3422, 22.2539, 48.4287)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FB9 #5FBB61
analogous
#8F5FBB #BB5FB9 #BB5F8B
triadic
#BB5FB9 #B9BB5F #5FB9BB
tetradic
#BB5FB9 #BB8F5F #5FBB61 #5F8BBB
square
#BB5FB9 #BB8F5F #5FBB61 #5F8BBB
split-complementary
#BB5FB9 #8BBB5F #5FBB8F
monochromatic
#70306F #9B4299 #BB5FB9 #CD8ACC #E0B5DF

Accessibility & contrast

On white

3.85
#BB5FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BB5FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FB9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FB9#FFFFFF#000000##000000
##BB5FB91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#587ABC
Deuteranopia (green-blind)
#7386B6
Tritanopia (blue-blind)
#C06884
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb5fb9;
/* rgb */ color: rgb(187, 95, 185);
/* oklch */ color: oklch(62.6% 0.163 328.1);
Tailwind
colors: {
  custom: {
    50: '#d190ce',
    500: '#bb5fb9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fb9;
$custom-light: #d190ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fb9",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 301.304,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62649,
    "c": 0.16321,
    "h": 328.1
  },
  "luminance": 0.22252
}

Semantic roles & 50–950 ramp

primary
#BB5FB9
secondary
#A8CEA9
accent
#D05A58
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D13
muted
#837E82

Preview Lab

Preview with #BB5FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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