#BB3FA7#BB3FA7

#BB3FA7 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.9% C 0.196 H 334.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BB3FA7
RGBrgb(187, 63, 167)
HSLhsl(310, 50%, 49%)
HSVhsv(310, 66%, 73%)
CMYKcmyk(0%, 66.3%, 10.7%, 26.7%)
CIE-LABlab(48.15, 61.05, -30.55)
CIE-LCHlch(48.15, 68.27, 333.42°)
OKLaboklab(57.87% 0.1776 -0.0833)
OKLCHoklch(57.87% 0.196 334.9)
XYZxyz(29.2463, 16.9122, 38.2758)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3FA7 #3FBB53
analogous
#913FBB #BB3FA7 #BB3F69
triadic
#BB3FA7 #A7BB3F #3FA7BB
tetradic
#BB3FA7 #BB913F #3FBB53 #3F69BB
square
#BB3FA7 #BB913F #3FBB53 #3F69BB
split-complementary
#BB3FA7 #69BB3F #3FBB91
monochromatic
#5F2055 #8D307E #BB3FA7 #CD6ABD #DC98D1

Accessibility & contrast

On white

4.79
#BB3FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BB3FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3FA7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3FA7#FFFFFF#000000##FFFFFF
##BB3FA71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E67AA
Deuteranopia (green-blind)
#6879A4
Tritanopia (blue-blind)
#C4486D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb3fa7;
/* rgb */ color: rgb(187, 63, 167);
/* oklch */ color: oklch(57.9% 0.196 334.9);
Tailwind
colors: {
  custom: {
    50: '#d37dc1',
    500: '#bb3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #bb3fa7;
$custom-light: #d37dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3fa7",
  "rgb": {
    "r": 187,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 309.677,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57872,
    "c": 0.19616,
    "h": 334.9
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#BB3FA7
secondary
#8EC897
accent
#D9654F
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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