#BB3FA8#BB3FA8

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

Color values

HEX#BB3FA8
RGBrgb(187, 63, 168)
HSLhsl(309, 50%, 49%)
HSVhsv(309, 66%, 73%)
CMYKcmyk(0%, 66.3%, 10.2%, 26.7%)
CIE-LABlab(48.20, 61.21, -31.07)
CIE-LCHlch(48.20, 68.64, 333.09°)
OKLaboklab(57.92% 0.1777 -0.0848)
OKLCHoklch(57.92% 0.197 334.5)
XYZxyz(29.3391, 16.9494, 38.7645)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB3FA8 #3FBB52
analogous
#903FBB #BB3FA8 #BB3F6A
triadic
#BB3FA8 #A8BB3F #3FA8BB
tetradic
#BB3FA8 #BB903F #3FBB52 #3F6ABB
square
#BB3FA8 #BB903F #3FBB52 #3F6ABB
split-complementary
#BB3FA8 #6ABB3F #3FBB90
monochromatic
#5F2056 #8D307F #BB3FA8 #CD6ABE #DC98D2

Accessibility & contrast

On white

4.78
#BB3FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BB3FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB3FA8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB3FA8#FFFFFF#000000##FFFFFF
##BB3FA81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb3fa8;
/* rgb */ color: rgb(187, 63, 168);
/* oklch */ color: oklch(57.9% 0.197 334.5);
Tailwind
colors: {
  custom: {
    50: '#d37dc2',
    500: '#bb3fa8',
    950: '#000000',
  },
}
SCSS
$custom: #bb3fa8;
$custom-light: #d37dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb3fa8",
  "rgb": {
    "r": 187,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 309.194,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57921,
    "c": 0.1969,
    "h": 334.5
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB3FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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