#BB3EA8#BB3EA8

#BB3EA8 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.8% C 0.198 H 334.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BB3EA8
RGBrgb(187, 62, 168)
HSLhsl(309, 50%, 49%)
HSVhsv(309, 67%, 73%)
CMYKcmyk(0%, 66.8%, 10.2%, 26.7%)
CIE-LABlab(48.06, 61.59, -31.28)
CIE-LCHlch(48.06, 69.08, 333.07°)
OKLaboklab(57.82% 0.1789 -0.0854)
OKLCHoklch(57.82% 0.198 334.5)
XYZxyz(29.2843, 16.8396, 38.7462)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3EA8 #3EBB51
analogous
#903EBB #BB3EA8 #BB3E6A
triadic
#BB3EA8 #A8BB3E #3EA8BB
tetradic
#BB3EA8 #BB903E #3EBB51 #3E6ABB
square
#BB3EA8 #BB903E #3EBB51 #3E6ABB
split-complementary
#BB3EA8 #6ABB3E #3EBB90
monochromatic
#5F2055 #8D2F7F #BB3EA8 #CD69BE #DC97D2

Accessibility & contrast

On white

4.81
#BB3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BB3EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3EA8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3EA8#FFFFFF#000000##FFFFFF
##BB3EA81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#6779A5
Tritanopia (blue-blind)
#C4476E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb3ea8;
/* rgb */ color: rgb(187, 62, 168);
/* oklch */ color: oklch(57.8% 0.198 334.5);
Tailwind
colors: {
  custom: {
    50: '#d37dc2',
    500: '#bb3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #bb3ea8;
$custom-light: #d37dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3ea8",
  "rgb": {
    "r": 187,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 309.12,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.19819,
    "h": 334.5
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#BB3EA8
secondary
#8DC896
accent
#DA634E
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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