#BB57B5#BB57B5

#BB57B5 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.4% C 0.173 H 329.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB57B5
RGBrgb(187, 87, 181)
HSLhsl(304, 42%, 54%)
HSVhsv(304, 53%, 73%)
CMYKcmyk(0%, 53.5%, 3.2%, 26.7%)
CIE-LABlab(52.64, 52.84, -31.73)
CIE-LCHlch(52.64, 61.64, 329.01°)
OKLaboklab(61.37% 0.149 -0.0869)
OKLCHoklch(61.37% 0.173 329.8)
XYZxyz(32.2419, 20.7194, 46.0081)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B5 #57BB5D
analogous
#8F57BB #BB57B5 #BB5783
triadic
#BB57B5 #B5BB57 #57B5BB
tetradic
#BB57B5 #BB8F57 #57BB5D #5783BB
square
#BB57B5 #BB8F57 #57BB5D #5783BB
split-complementary
#BB57B5 #83BB57 #57BB8F
monochromatic
#6C2C68 #973D92 #BB57B5 #CD83C8 #DEAEDB

Accessibility & contrast

On white

4.08
#BB57B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BB57B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB57B5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB57B5#FFFFFF#000000##000000
##BB57B51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5175B8
Deuteranopia (green-blind)
#6F83B2
Tritanopia (blue-blind)
#C1607E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb57b5;
/* rgb */ color: rgb(187, 87, 181);
/* oklch */ color: oklch(61.4% 0.173 329.8);
Tailwind
colors: {
  custom: {
    50: '#d28bcb',
    500: '#bb57b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b5;
$custom-light: #d28bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b5",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 181
  },
  "hsl": {
    "h": 303.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61369,
    "c": 0.17253,
    "h": 329.8
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#BB57B5
secondary
#A2CCA4
accent
#D25D56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB57B5

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

Preview Lab → · Contrast checker → · Palette generator →

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