#BB38C1#BB38C1

#BB38C1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.225 H 326.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BB38C1
RGBrgb(187, 56, 193)
HSLhsl(297, 55%, 49%)
HSVhsv(297, 71%, 76%)
CMYKcmyk(3.1%, 71%, 0%, 24.3%)
CIE-LABlab(48.57, 67.82, -45.12)
CIE-LCHlch(48.57, 81.46, 326.37°)
OKLaboklab(58.61% 0.1864 -0.1253)
OKLCHoklch(58.61% 0.225 326.1)
XYZxyz(31.5327, 17.2455, 52.1096)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38C1 #3EC138
analogous
#7738C1 #BB38C1 #C13883
triadic
#BB38C1 #C1BB38 #38C1BB
tetradic
#BB38C1 #C17738 #3EC138 #3883C1
square
#BB38C1 #C17738 #3EC138 #3883C1
split-complementary
#BB38C1 #83C138 #38C177
monochromatic
#5F1C62 #8D2A92 #BB38C1 #CD64D2 #DC94E0

Accessibility & contrast

On white

4.72
#BB38C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BB38C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38C1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38C1#FFFFFF#000000##FFFFFF
##BB38C11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C5
Deuteranopia (green-blind)
#5779BE
Tritanopia (blue-blind)
#C04E79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb38c1;
/* rgb */ color: rgb(187, 56, 193);
/* oklch */ color: oklch(58.6% 0.225 326.1);
Tailwind
colors: {
  custom: {
    50: '#d37bd4',
    500: '#bb38c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb38c1;
$custom-light: #d37bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38c1",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 297.372,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.2246,
    "h": 326.1
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#BB38C1
secondary
#8DCB8A
accent
#DE4950
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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