#BB3EA7#BB3EA7

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

Color values

HEX#BB3EA7
RGBrgb(187, 62, 167)
HSLhsl(310, 50%, 49%)
HSVhsv(310, 67%, 73%)
CMYKcmyk(0%, 66.8%, 10.7%, 26.7%)
CIE-LABlab(48.01, 61.44, -30.77)
CIE-LCHlch(48.01, 68.71, 333.40°)
OKLaboklab(57.77% 0.1787 -0.0839)
OKLCHoklch(57.77% 0.197 334.8)
XYZxyz(29.1915, 16.8025, 38.2575)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3EA7 #3EBB52
analogous
#913EBB #BB3EA7 #BB3E69
triadic
#BB3EA7 #A7BB3E #3EA7BB
tetradic
#BB3EA7 #BB913E #3EBB52 #3E69BB
square
#BB3EA7 #BB913E #3EBB52 #3E69BB
split-complementary
#BB3EA7 #69BB3E #3EBB91
monochromatic
#5F2055 #8D2F7E #BB3EA7 #CD69BD #DC97D1

Accessibility & contrast

On white

4.82
#BB3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BB3EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3EA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3EA7#FFFFFF#000000##FFFFFF
##BB3EA71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#6779A4
Tritanopia (blue-blind)
#C4476D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb3ea7;
/* rgb */ color: rgb(187, 62, 167);
/* oklch */ color: oklch(57.8% 0.197 334.8);
Tailwind
colors: {
  custom: {
    50: '#d37dc1',
    500: '#bb3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #bb3ea7;
$custom-light: #d37dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3ea7",
  "rgb": {
    "r": 187,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 309.6,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.19745,
    "h": 334.8
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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