#BB38AF#BB38AF

#BB38AF is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.211 H 331.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB38AF
RGBrgb(187, 56, 175)
HSLhsl(305, 54%, 48%)
HSVhsv(305, 70%, 73%)
CMYKcmyk(0%, 70.1%, 6.4%, 26.7%)
CIE-LABlab(47.61, 64.90, -36.11)
CIE-LCHlch(47.61, 74.27, 330.91°)
OKLaboklab(57.61% 0.1859 -0.0992)
OKLCHoklch(57.61% 0.211 331.9)
XYZxyz(29.6456, 16.4906, 42.1708)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38AF #38BB44
analogous
#8538BB #BB38AF #BB386E
triadic
#BB38AF #AFBB38 #38AFBB
tetradic
#BB38AF #BB8538 #38BB44 #386EBB
square
#BB38AF #BB8538 #38BB44 #386EBB
split-complementary
#BB38AF #6EBB38 #38BB85
monochromatic
#5D1C57 #8C2A83 #BB38AF #D061C5 #DE90D7

Accessibility & contrast

On white

4.89
#BB38AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BB38AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38AF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38AF#FFFFFF#000000##FFFFFF
##BB38AF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#6177AC
Tritanopia (blue-blind)
#C3466F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb38af;
/* rgb */ color: rgb(187, 56, 175);
/* oklch */ color: oklch(57.6% 0.211 331.9);
Tailwind
colors: {
  custom: {
    50: '#d37ac7',
    500: '#bb38af',
    950: '#000000',
  },
}
SCSS
$custom: #bb38af;
$custom-light: #d37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38af",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 305.496,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.21076,
    "h": 331.9
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#BB38AF
secondary
#86C88C
accent
#DD584B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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