#BB5CB2#BB5CB2

#BB5CB2 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.9% C 0.162 H 331.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BB5CB2
RGBrgb(187, 92, 178)
HSLhsl(306, 41%, 55%)
HSVhsv(306, 51%, 73%)
CMYKcmyk(0%, 50.8%, 4.8%, 26.7%)
CIE-LABlab(53.42, 49.89, -28.78)
CIE-LCHlch(53.42, 57.59, 330.02°)
OKLaboklab(61.9% 0.1416 -0.0785)
OKLCHoklch(61.9% 0.162 331)
XYZxyz(32.3563, 21.4354, 44.5440)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CB2 #5CBB65
analogous
#955CBB #BB5CB2 #BB5C83
triadic
#BB5CB2 #B2BB5C #5CB2BB
tetradic
#BB5CB2 #BB955C #5CBB65 #5C83BB
square
#BB5CB2 #BB955C #5CBB65 #5C83BB
split-complementary
#BB5CB2 #83BB5C #5CBB95
monochromatic
#6F2E68 #9A4091 #BB5CB2 #CD87C6 #DFB2DB

Accessibility & contrast

On white

3.97
#BB5CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#BB5CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CB2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CB2#FFFFFF#000000##000000
##BB5CB21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#C1647F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5cb2;
/* rgb */ color: rgb(187, 92, 178);
/* oklch */ color: oklch(61.9% 0.162 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28ec9',
    500: '#bb5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cb2;
$custom-light: #d28ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cb2",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 305.684,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61902,
    "c": 0.16189,
    "h": 331
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#BB5CB2
secondary
#A5CDA9
accent
#D16257
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D13
muted
#837D82

Preview Lab

Preview with #BB5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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