#BB38C4#BB38C4

#BB38C4 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.227 H 325.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BB38C4
RGBrgb(187, 56, 196)
HSLhsl(296, 56%, 49%)
HSVhsv(296, 71%, 77%)
CMYKcmyk(4.6%, 71.4%, 0%, 23.1%)
CIE-LABlab(48.74, 68.33, -46.59)
CIE-LCHlch(48.74, 82.70, 325.71°)
OKLaboklab(58.78% 0.1863 -0.1296)
OKLCHoklch(58.78% 0.227 325.2)
XYZxyz(31.8708, 17.3807, 53.8900)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38C4 #41C438
analogous
#7538C4 #BB38C4 #C43887
triadic
#BB38C4 #C4BB38 #38C4BB
tetradic
#BB38C4 #C47538 #41C438 #3887C4
square
#BB38C4 #C47538 #41C438 #3887C4
split-complementary
#BB38C4 #87C438 #38C475
monochromatic
#601D65 #8E2A94 #BB38C4 #CC66D3 #DC96E1

Accessibility & contrast

On white

4.69
#BB38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BB38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38C4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38C4#FFFFFF#000000##FFFFFF
##BB38C41.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6AC8
Deuteranopia (green-blind)
#5579C1
Tritanopia (blue-blind)
#BF507B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb38c4;
/* rgb */ color: rgb(187, 56, 196);
/* oklch */ color: oklch(58.8% 0.227 325.2);
Tailwind
colors: {
  custom: {
    50: '#d37bd6',
    500: '#bb38c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb38c4;
$custom-light: #d37bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38c4",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 296.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5878,
    "c": 0.22698,
    "h": 325.2
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#BB38C4
secondary
#90CC8C
accent
#DF4953
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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