#BB42C0#BB42C0

#BB42C0 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.212 H 326.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BB42C0
RGBrgb(187, 66, 192)
HSLhsl(298, 50%, 51%)
HSVhsv(298, 66%, 75%)
CMYKcmyk(2.6%, 65.6%, 0%, 24.7%)
CIE-LABlab(49.82, 63.96, -42.55)
CIE-LCHlch(49.82, 76.82, 326.37°)
OKLaboklab(59.49% 0.1761 -0.1179)
OKLCHoklch(59.49% 0.212 326.2)
XYZxyz(31.9555, 18.2690, 51.7021)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42C0 #47C042
analogous
#7C42C0 #BB42C0 #C04286
triadic
#BB42C0 #C0BB42 #42C0BB
tetradic
#BB42C0 #C07C42 #47C042 #4286C0
square
#BB42C0 #C07C42 #47C042 #4286C0
split-complementary
#BB42C0 #86C042 #42C07C
monochromatic
#632266 #903194 #BB42C0 #CC70CF #DC9EDF

Accessibility & contrast

On white

4.51
#BB42C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BB42C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42C0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42C0#FFFFFF#000000##000000
##BB42C01.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6DC4
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#C0547C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb42c0;
/* rgb */ color: rgb(187, 66, 192);
/* oklch */ color: oklch(59.5% 0.212 326.2);
Tailwind
colors: {
  custom: {
    50: '#d380d3',
    500: '#bb42c0',
    950: '#000000',
  },
}
SCSS
$custom: #bb42c0;
$custom-light: #d380d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42c0",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 297.619,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.21192,
    "h": 326.2
  },
  "luminance": 0.18267
}

Semantic roles & 50–950 ramp

primary
#BB42C0
secondary
#95CB93
accent
#DA4E54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB42C0

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

Preview Lab → · Contrast checker → · Palette generator →

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