#BB42BA#BB42BA

#BB42BA is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.207 H 328.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BB42BA
RGBrgb(187, 66, 186)
HSLhsl(300, 48%, 50%)
HSVhsv(300, 65%, 73%)
CMYKcmyk(0%, 64.7%, 0.5%, 26.7%)
CIE-LABlab(49.51, 62.94, -39.56)
CIE-LCHlch(49.51, 74.34, 327.85°)
OKLaboklab(59.16% 0.1758 -0.1093)
OKLCHoklch(59.16% 0.207 328.1)
XYZxyz(31.3043, 18.0085, 48.2720)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42BA #42BB43
analogous
#8042BB #BB42BA #BB427E
triadic
#BB42BA #BABB42 #42BABB
tetradic
#BB42BA #BB8042 #42BB43 #427EBB
square
#BB42BA #BB8042 #42BB43 #427EBB
split-complementary
#BB42BA #7EBB42 #42BB80
monochromatic
#612260 #8E328D #BB42BA #CC6ECB #DC9CDB

Accessibility & contrast

On white

4.56
#BB42BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BB42BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42BA#FFFFFF#000000##000000
##BB42BA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#326BBE
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#C15278
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb42ba;
/* rgb */ color: rgb(187, 66, 186);
/* oklch */ color: oklch(59.2% 0.207 328.1);
Tailwind
colors: {
  custom: {
    50: '#d37fcf',
    500: '#bb42ba',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ba;
$custom-light: #d37fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ba",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 300.496,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.20702,
    "h": 328.1
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#BB42BA
secondary
#91C891
accent
#D75150
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB42BA

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

Preview Lab → · Contrast checker → · Palette generator →

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