#BB42CA#BB42CA

#BB42CA is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.220 H 323.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB42CA
RGBrgb(187, 66, 202)
HSLhsl(293, 56%, 53%)
HSVhsv(293, 67%, 79%)
CMYKcmyk(7.4%, 67.3%, 0%, 20.8%)
CIE-LABlab(50.37, 65.72, -47.46)
CIE-LCHlch(50.37, 81.06, 324.17°)
OKLaboklab(60.06% 0.1762 -0.1322)
OKLCHoklch(60.06% 0.22 323.1)
XYZxyz(33.1014, 18.7274, 57.7369)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42CA #51CA42
analogous
#7742CA #BB42CA #CA4295
triadic
#BB42CA #CABB42 #42CABB
tetradic
#BB42CA #CA7742 #51CA42 #4295CA
square
#BB42CA #CA7742 #51CA42 #4295CA
split-complementary
#BB42CA #95CA42 #42CA77
monochromatic
#692072 #952DA2 #BB42CA #CC72D7 #DDA2E5

Accessibility & contrast

On white

4.43
#BB42CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB42CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42CA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42CA#FFFFFF#000000##000000
##BB42CA1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#BE5981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb42ca;
/* rgb */ color: rgb(187, 66, 202);
/* oklch */ color: oklch(60.1% 0.220 323.1);
Tailwind
colors: {
  custom: {
    50: '#d380db',
    500: '#bb42ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb42ca;
$custom-light: #d380db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42ca",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 293.382,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60058,
    "c": 0.22026,
    "h": 323.1
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#BB42CA
secondary
#9DD196
accent
#DF4859
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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