#BB57B3#BB57B3

#BB57B3 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.3% C 0.171 H 330.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB57B3
RGBrgb(187, 87, 179)
HSLhsl(305, 42%, 54%)
HSVhsv(305, 53%, 73%)
CMYKcmyk(0%, 53.5%, 4.3%, 26.7%)
CIE-LABlab(52.55, 52.50, -30.71)
CIE-LCHlch(52.55, 60.82, 329.67°)
OKLaboklab(61.27% 0.1487 -0.084)
OKLCHoklch(61.27% 0.171 330.6)
XYZxyz(32.0382, 20.6379, 44.9351)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B3 #57BB5F
analogous
#9157BB #BB57B3 #BB5781
triadic
#BB57B3 #B3BB57 #57B3BB
tetradic
#BB57B3 #BB9157 #57BB5F #5781BB
square
#BB57B3 #BB9157 #57BB5F #5781BB
split-complementary
#BB57B3 #81BB57 #57BB91
monochromatic
#6C2C67 #973D90 #BB57B3 #CD83C7 #DEAEDA

Accessibility & contrast

On white

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

On black

5.13
#BB57B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57B3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57B3#FFFFFF#000000##000000
##BB57B31.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B6
Deuteranopia (green-blind)
#7082B0
Tritanopia (blue-blind)
#C1607D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb57b3;
/* rgb */ color: rgb(187, 87, 179);
/* oklch */ color: oklch(61.3% 0.171 330.6);
Tailwind
colors: {
  custom: {
    50: '#d28bca',
    500: '#bb57b3',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b3;
$custom-light: #d28bca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b3",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 304.8,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.17081,
    "h": 330.6
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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