#BB42CF#BB42CF

#BB42CF is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.225 H 321.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BB42CF
RGBrgb(187, 66, 207)
HSLhsl(291, 59%, 54%)
HSVhsv(291, 68%, 81%)
CMYKcmyk(9.7%, 68.1%, 0%, 18.8%)
CIE-LABlab(50.65, 66.62, -49.88)
CIE-LCHlch(50.65, 83.22, 323.18°)
OKLaboklab(60.35% 0.1761 -0.1393)
OKLCHoklch(60.35% 0.225 321.7)
XYZxyz(33.7030, 18.9680, 60.9053)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB42CF #56CF42
analogous
#7442CF #BB42CF #CF429D
triadic
#BB42CF #CFBB42 #42CFBB
tetradic
#BB42CF #CF7442 #56CF42 #429DCF
square
#BB42CF #CF7442 #56CF42 #429DCF
split-complementary
#BB42CF #9DCF42 #42CF74
monochromatic
#6B1F78 #972BA9 #BB42CF #CD73DB #DEA4E8

Accessibility & contrast

On white

4.38
#BB42CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BB42CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB42CF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB42CF#FFFFFF#000000##000000
##BB42CF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#BD5B84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb42cf;
/* rgb */ color: rgb(187, 66, 207);
/* oklch */ color: oklch(60.4% 0.225 321.7);
Tailwind
colors: {
  custom: {
    50: '#d380de',
    500: '#bb42cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb42cf;
$custom-light: #d380de;
$custom-dark: #000000;
JSON
{
  "hex": "#bb42cf",
  "rgb": {
    "r": 187,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 291.489,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60352,
    "c": 0.2245,
    "h": 321.7
  },
  "luminance": 0.18966
}

Semantic roles & 50–950 ramp

primary
#BB42CF
secondary
#A1D598
accent
#E3455B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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