#BB40CD#BB40CD

#BB40CD is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.225 H 322.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB40CD
RGBrgb(187, 64, 205)
HSLhsl(292, 59%, 53%)
HSVhsv(292, 69%, 80%)
CMYKcmyk(8.8%, 68.8%, 0%, 19.6%)
CIE-LABlab(50.26, 67.02, -49.34)
CIE-LCHlch(50.26, 83.22, 323.64°)
OKLaboklab(60.04% 0.1782 -0.1377)
OKLCHoklch(60.04% 0.225 322.3)
XYZxyz(33.3452, 18.6412, 59.5875)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40CD #52CD40
analogous
#7440CD #BB40CD #CD4099
triadic
#BB40CD #CDBB40 #40CDBB
tetradic
#BB40CD #CD7440 #52CD40 #4099CD
square
#BB40CD #CD7440 #52CD40 #4099CD
split-complementary
#BB40CD #99CD40 #40CD74
monochromatic
#691E74 #952BA5 #BB40CD #CC71DA #DEA1E6

Accessibility & contrast

On white

4.44
#BB40CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BB40CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB40CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40CD#FFFFFF#000000##000000
##BB40CD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E6FD1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#BD5982
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb40cd;
/* rgb */ color: rgb(187, 64, 205);
/* oklch */ color: oklch(60.0% 0.225 322.3);
Tailwind
colors: {
  custom: {
    50: '#d37fdd',
    500: '#bb40cd',
    950: '#000000',
  },
}
SCSS
$custom: #bb40cd;
$custom-light: #d37fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40cd",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 292.34,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.22521,
    "h": 322.3
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#BB40CD
secondary
#9ED396
accent
#E2465A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB40CD

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

Preview Lab → · Contrast checker → · Palette generator →

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