#BB5CB4#BB5CB4

#BB5CB4 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 62.0% C 0.164 H 330.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BB5CB4
RGBrgb(187, 92, 180)
HSLhsl(304, 41%, 55%)
HSVhsv(304, 51%, 73%)
CMYKcmyk(0%, 50.8%, 3.7%, 26.7%)
CIE-LABlab(53.51, 50.24, -29.80)
CIE-LCHlch(53.51, 58.41, 329.32°)
OKLaboklab(62% 0.142 -0.0814)
OKLCHoklch(62% 0.164 330.2)
XYZxyz(32.5586, 21.5163, 45.6093)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CB4 #5CBB63
analogous
#935CBB #BB5CB4 #BB5C85
triadic
#BB5CB4 #B4BB5C #5CB4BB
tetradic
#BB5CB4 #BB935C #5CBB63 #5C85BB
square
#BB5CB4 #BB935C #5CBB63 #5C85BB
split-complementary
#BB5CB4 #85BB5C #5CBB93
monochromatic
#6F2E6A #9A4093 #BB5CB4 #CD87C8 #DFB2DC

Accessibility & contrast

On white

3.96
#BB5CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BB5CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CB4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CB4#FFFFFF#000000##000000
##BB5CB41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5778B7
Deuteranopia (green-blind)
#7385B1
Tritanopia (blue-blind)
#C16480
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #bb5cb4;
/* rgb */ color: rgb(187, 92, 180);
/* oklch */ color: oklch(62.0% 0.164 330.2);
Tailwind
colors: {
  custom: {
    50: '#d28eca',
    500: '#bb5cb4',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cb4;
$custom-light: #d28eca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cb4",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 304.421,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.16364,
    "h": 330.2
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#BB5CB4
secondary
#A5CDA8
accent
#D16057
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D13
muted
#837D82

Preview Lab

Preview with #BB5CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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