#BB5FB7#BB5FB7

#BB5FB7 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.161 H 328.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BB5FB7
RGBrgb(187, 95, 183)
HSLhsl(303, 40%, 55%)
HSVhsv(303, 49%, 73%)
CMYKcmyk(0%, 49.2%, 2.1%, 26.7%)
CIE-LABlab(54.21, 49.28, -30.45)
CIE-LCHlch(54.21, 57.93, 328.28°)
OKLaboklab(62.55% 0.1382 -0.0833)
OKLCHoklch(62.55% 0.161 328.9)
XYZxyz(33.1325, 22.1700, 47.3246)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FB7 #5FBB63
analogous
#915FBB #BB5FB7 #BB5F89
triadic
#BB5FB7 #B7BB5F #5FB7BB
tetradic
#BB5FB7 #BB915F #5FBB63 #5F89BB
square
#BB5FB7 #BB915F #5FBB63 #5F89BB
split-complementary
#BB5FB7 #89BB5F #5FBB91
monochromatic
#70306D #9B4297 #BB5FB7 #CD8ACA #E0B5DE

Accessibility & contrast

On white

3.86
#BB5FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BB5FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FB7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FB7#FFFFFF#000000##000000
##BB5FB71.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597ABA
Deuteranopia (green-blind)
#7486B4
Tritanopia (blue-blind)
#C16883
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb5fb7;
/* rgb */ color: rgb(187, 95, 183);
/* oklch */ color: oklch(62.6% 0.161 328.9);
Tailwind
colors: {
  custom: {
    50: '#d190cd',
    500: '#bb5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fb7;
$custom-light: #d190cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fb7",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 302.609,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.16139,
    "h": 328.9
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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