#BB57B4#BB57B4

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

Color values

HEX#BB57B4
RGBrgb(187, 87, 180)
HSLhsl(304, 42%, 54%)
HSVhsv(304, 53%, 73%)
CMYKcmyk(0%, 53.5%, 3.7%, 26.7%)
CIE-LABlab(52.60, 52.67, -31.22)
CIE-LCHlch(52.60, 61.23, 329.34°)
OKLaboklab(61.32% 0.1489 -0.0854)
OKLCHoklch(61.32% 0.172 330.2)
XYZxyz(32.1397, 20.6785, 45.4697)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB57B4 #57BB5E
analogous
#9057BB #BB57B4 #BB5782
triadic
#BB57B4 #B4BB57 #57B4BB
tetradic
#BB57B4 #BB9057 #57BB5E #5782BB
square
#BB57B4 #BB9057 #57BB5E #5782BB
split-complementary
#BB57B4 #82BB57 #57BB90
monochromatic
#6C2C67 #973D91 #BB57B4 #CD83C7 #DEAEDB

Accessibility & contrast

On white

4.09
#BB57B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB57B4#FFFFFF#000000##000000
##BB57B41.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5175B7
Deuteranopia (green-blind)
#7082B1
Tritanopia (blue-blind)
#C1607E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb57b4;
/* rgb */ color: rgb(187, 87, 180);
/* oklch */ color: oklch(61.3% 0.172 330.2);
Tailwind
colors: {
  custom: {
    50: '#d28bca',
    500: '#bb57b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb57b4;
$custom-light: #d28bca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb57b4",
  "rgb": {
    "r": 187,
    "g": 87,
    "b": 180
  },
  "hsl": {
    "h": 304.2,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.17167,
    "h": 330.2
  },
  "luminance": 0.20676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB57B4

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

Preview Lab → · Contrast checker → · Palette generator →

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