#BB40CF#BB40CF

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

Color values

HEX#BB40CF
RGBrgb(187, 64, 207)
HSLhsl(292, 60%, 53%)
HSVhsv(292, 69%, 81%)
CMYKcmyk(9.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(50.38, 67.38, -50.31)
CIE-LCHlch(50.38, 84.09, 323.25°)
OKLaboklab(60.16% 0.1781 -0.1405)
OKLCHoklch(60.16% 0.227 321.7)
XYZxyz(33.5882, 18.7384, 60.8671)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40CF #54CF40
analogous
#7340CF #BB40CF #CF409C
triadic
#BB40CF #CFBB40 #40CFBB
tetradic
#BB40CF #CF7340 #54CF40 #409CCF
square
#BB40CF #CF7340 #54CF40 #409CCF
split-complementary
#BB40CF #9CCF40 #40CF73
monochromatic
#6A1E77 #962AA8 #BB40CF #CC71DB #DEA2E8

Accessibility & contrast

On white

4.42
#BB40CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB40CF#FFFFFF#000000##000000
##BB40CF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#527CCC
Tritanopia (blue-blind)
#BD5983
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb40cf;
/* rgb */ color: rgb(187, 64, 207);
/* oklch */ color: oklch(60.2% 0.227 321.7);
Tailwind
colors: {
  custom: {
    50: '#d37fde',
    500: '#bb40cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb40cf;
$custom-light: #d37fde;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40cf",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 291.608,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.22689,
    "h": 321.7
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#BB40CF
secondary
#9FD497
accent
#E3455B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB40CF

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

Preview Lab → · Contrast checker → · Palette generator →

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