#BB5FB2#BB5FB2

#BB5FB2 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.3% C 0.157 H 331.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BB5FB2
RGBrgb(187, 95, 178)
HSLhsl(306, 40%, 55%)
HSVhsv(306, 49%, 73%)
CMYKcmyk(0%, 49.2%, 4.8%, 26.7%)
CIE-LABlab(53.99, 48.39, -27.90)
CIE-LCHlch(53.99, 55.85, 330.04°)
OKLaboklab(62.32% 0.1373 -0.076)
OKLCHoklch(62.32% 0.157 331)
XYZxyz(32.6214, 21.9655, 44.6324)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FB2 #5FBB68
analogous
#965FBB #BB5FB2 #BB5F84
triadic
#BB5FB2 #B2BB5F #5FB2BB
tetradic
#BB5FB2 #BB965F #5FBB68 #5F84BB
square
#BB5FB2 #BB965F #5FBB68 #5F84BB
split-complementary
#BB5FB2 #84BB5F #5FBB96
monochromatic
#70306A #9B4292 #BB5FB2 #CD8AC7 #E0B5DB

Accessibility & contrast

On white

3.89
#BB5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BB5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FB2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FB2#FFFFFF#000000##000000
##BB5FB21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#C16680
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bb5fb2;
/* rgb */ color: rgb(187, 95, 178);
/* oklch */ color: oklch(62.3% 0.157 331.0);
Tailwind
colors: {
  custom: {
    50: '#d190c9',
    500: '#bb5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fb2;
$custom-light: #d190c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fb2",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 305.87,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62323,
    "c": 0.15695,
    "h": 331
  },
  "luminance": 0.21964
}

Semantic roles & 50–950 ramp

primary
#BB5FB2
secondary
#A8CEAB
accent
#D06358
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #BB5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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