#BB40CE#BB40CE

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

Color values

HEX#BB40CE
RGBrgb(187, 64, 206)
HSLhsl(292, 59%, 53%)
HSVhsv(292, 69%, 81%)
CMYKcmyk(9.2%, 68.9%, 0%, 19.2%)
CIE-LABlab(50.32, 67.20, -49.82)
CIE-LCHlch(50.32, 83.65, 323.44°)
OKLaboklab(60.1% 0.1782 -0.1391)
OKLCHoklch(60.1% 0.226 322)
XYZxyz(33.4663, 18.6897, 60.2252)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40CE #53CE40
analogous
#7440CE #BB40CE #CE409A
triadic
#BB40CE #CEBB40 #40CEBB
tetradic
#BB40CE #CE7440 #53CE40 #409ACE
square
#BB40CE #CE7440 #53CE40 #409ACE
split-complementary
#BB40CE #9ACE40 #40CE74
monochromatic
#6A1E75 #962BA6 #BB40CE #CC71DA #DEA1E7

Accessibility & contrast

On white

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

On black

4.74
#BB40CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB40CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40CE#FFFFFF#000000##000000
##BB40CE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6FD2
Deuteranopia (green-blind)
#537CCB
Tritanopia (blue-blind)
#BD5983
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb40ce;
/* rgb */ color: rgb(187, 64, 206);
/* oklch */ color: oklch(60.1% 0.226 322.0);
Tailwind
colors: {
  custom: {
    50: '#d37fdd',
    500: '#bb40ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb40ce;
$custom-light: #d37fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40ce",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 291.972,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60099,
    "c": 0.22605,
    "h": 322
  },
  "luminance": 0.18688
}

Semantic roles & 50–950 ramp

primary
#BB40CE
secondary
#9ED496
accent
#E2455A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB40CE

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

Preview Lab → · Contrast checker → · Palette generator →

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