#BB40C0#BB40C0

#BB40C0 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.214 H 326.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB40C0
RGBrgb(187, 64, 192)
HSLhsl(298, 50%, 50%)
HSVhsv(298, 67%, 75%)
CMYKcmyk(2.6%, 66.7%, 0%, 24.7%)
CIE-LABlab(49.54, 64.74, -42.99)
CIE-LCHlch(49.54, 77.71, 326.42°)
OKLaboklab(59.29% 0.1783 -0.1192)
OKLCHoklch(59.29% 0.214 326.2)
XYZxyz(31.8407, 18.0394, 51.6638)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40C0 #45C040
analogous
#7B40C0 #BB40C0 #C04085
triadic
#BB40C0 #C0BB40 #40C0BB
tetradic
#BB40C0 #C07B40 #45C040 #4085C0
square
#BB40C0 #C07B40 #45C040 #4085C0
split-complementary
#BB40C0 #85C040 #40C07B
monochromatic
#622164 #8F3092 #BB40C0 #CB6ECF #DC9CDE

Accessibility & contrast

On white

4.56
#BB40C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BB40C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB40C0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40C0#FFFFFF#000000##000000
##BB40C01.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#286CC4
Deuteranopia (green-blind)
#5C7BBD
Tritanopia (blue-blind)
#C0537B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb40c0;
/* rgb */ color: rgb(187, 64, 192);
/* oklch */ color: oklch(59.3% 0.214 326.2);
Tailwind
colors: {
  custom: {
    50: '#d37fd3',
    500: '#bb40c0',
    950: '#000000',
  },
}
SCSS
$custom: #bb40c0;
$custom-light: #d37fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40c0",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 297.656,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.21443,
    "h": 326.2
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#BB40C0
secondary
#94CB91
accent
#DA4E53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB40C0

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

Preview Lab → · Contrast checker → · Palette generator →

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