#BB47B3#BB47B3

#BB47B3 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.3% C 0.195 H 330.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BB47B3
RGBrgb(187, 71, 179)
HSLhsl(304, 46%, 51%)
HSVhsv(304, 62%, 73%)
CMYKcmyk(0%, 62%, 4.3%, 26.7%)
CIE-LABlab(49.89, 59.73, -34.87)
CIE-LCHlch(49.89, 69.16, 329.72°)
OKLaboklab(59.33% 0.1695 -0.0958)
OKLCHoklch(59.33% 0.195 330.5)
XYZxyz(30.8833, 18.3281, 44.5502)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB47B3 #47BB4F
analogous
#8947BB #BB47B3 #BB4779
triadic
#BB47B3 #B3BB47 #47B3BB
tetradic
#BB47B3 #BB8947 #47BB4F #4779BB
square
#BB47B3 #BB8947 #47BB4F #4779BB
split-complementary
#BB47B3 #79BB47 #47BB89
monochromatic
#63255F #903589 #BB47B3 #CC74C5 #DCA0D8

Accessibility & contrast

On white

4.50
#BB47B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BB47B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB47B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB47B3#FFFFFF#000000##000000
##BB47B31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#C25377
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb47b3;
/* rgb */ color: rgb(187, 71, 179);
/* oklch */ color: oklch(59.3% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#d282ca',
    500: '#bb47b3',
    950: '#000000',
  },
}
SCSS
$custom: #bb47b3;
$custom-light: #d282ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb47b3",
  "rgb": {
    "r": 187,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 304.138,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59325,
    "c": 0.19465,
    "h": 330.5
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#BB47B3
secondary
#95C999
accent
#D65B52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB47B3

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

Preview Lab → · Contrast checker → · Palette generator →

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