#BB57B2#BB57B2

#BB57B2 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.2% C 0.170 H 331.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB57B2
RGBrgb(187, 87, 178)
HSLhsl(305, 42%, 54%)
HSVhsv(305, 53%, 73%)
CMYKcmyk(0%, 53.5%, 4.8%, 26.7%)
CIE-LABlab(52.51, 52.32, -30.20)
CIE-LCHlch(52.51, 60.41, 330.01°)
OKLaboklab(61.22% 0.1486 -0.0825)
OKLCHoklch(61.22% 0.17 331)
XYZxyz(31.9374, 20.5976, 44.4044)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B2 #57BB60
analogous
#9257BB #BB57B2 #BB5780
triadic
#BB57B2 #B2BB57 #57B2BB
tetradic
#BB57B2 #BB9257 #57BB60 #5780BB
square
#BB57B2 #BB9257 #57BB60 #5780BB
split-complementary
#BB57B2 #80BB57 #57BB92
monochromatic
#6C2C66 #973D8F #BB57B2 #CD83C6 #DEAEDA

Accessibility & contrast

On white

4.10
#BB57B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BB57B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57B2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57B2#FFFFFF#000000##000000
##BB57B21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#C25F7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb57b2;
/* rgb */ color: rgb(187, 87, 178);
/* oklch */ color: oklch(61.2% 0.170 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28bc9',
    500: '#bb57b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b2;
$custom-light: #d28bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b2",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 305.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.16995,
    "h": 331
  },
  "luminance": 0.20596
}

Semantic roles & 50–950 ramp

primary
#BB57B2
secondary
#A2CCA5
accent
#D26156
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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