#BB38AA#BB38AA

#BB38AA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.207 H 333.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BB38AA
RGBrgb(187, 56, 170)
HSLhsl(308, 54%, 48%)
HSVhsv(308, 70%, 73%)
CMYKcmyk(0%, 70.1%, 9.1%, 26.7%)
CIE-LABlab(47.36, 64.12, -33.55)
CIE-LCHlch(47.36, 72.37, 332.38°)
OKLaboklab(57.35% 0.1856 -0.0919)
OKLCHoklch(57.35% 0.207 333.7)
XYZxyz(29.1636, 16.2979, 39.6322)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38AA #38BB49
analogous
#8A38BB #BB38AA #BB3869
triadic
#BB38AA #AABB38 #38AABB
tetradic
#BB38AA #BB8A38 #38BB49 #3869BB
square
#BB38AA #BB8A38 #38BB49 #3869BB
split-complementary
#BB38AA #69BB38 #38BB8A
monochromatic
#5D1C54 #8C2A7F #BB38AA #D061C1 #DE90D4

Accessibility & contrast

On white

4.93
#BB38AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BB38AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38AA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38AA#FFFFFF#000000##FFFFFF
##BB38AA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#C4446D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb38aa;
/* rgb */ color: rgb(187, 56, 170);
/* oklch */ color: oklch(57.3% 0.207 333.7);
Tailwind
colors: {
  custom: {
    50: '#d37ac3',
    500: '#bb38aa',
    950: '#000000',
  },
}
SCSS
$custom: #bb38aa;
$custom-light: #d37ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38aa",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 307.786,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57348,
    "c": 0.20706,
    "h": 333.7
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#BB38AA
secondary
#86C88F
accent
#DD5E4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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