#B147A2#B147A2

#B147A2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.175 H 333.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B147A2
RGBrgb(177, 71, 162)
HSLhsl(308, 43%, 49%)
HSVhsv(308, 60%, 69%)
CMYKcmyk(0%, 59.9%, 8.5%, 30.6%)
CIE-LABlab(47.58, 54.26, -28.60)
CIE-LCHlch(47.58, 61.34, 332.21°)
OKLaboklab(57.07% 0.1564 -0.078)
OKLCHoklch(57.07% 0.175 333.5)
XYZxyz(26.9064, 16.4642, 35.9362)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147A2 #47B156
analogous
#8B47B1 #B147A2 #B1476D
triadic
#B147A2 #A2B147 #47A2B1
tetradic
#B147A2 #B18B47 #47B156 #476DB1
square
#B147A2 #B18B47 #47B156 #476DB1
split-complementary
#B147A2 #6DB147 #47B18B
monochromatic
#5A2452 #85357A #B147A2 #C670B9 #D79BCF

Accessibility & contrast

On white

4.89
#B147A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B147A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147A2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147A2#FFFFFF#000000##FFFFFF
##B147A21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#B94F6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b147a2;
/* rgb */ color: rgb(177, 71, 162);
/* oklch */ color: oklch(57.1% 0.175 333.5);
Tailwind
colors: {
  custom: {
    50: '#cb80be',
    500: '#b147a2',
    950: '#000000',
  },
}
SCSS
$custom: #b147a2;
$custom-light: #cb80be;
$custom-dark: #000000;
JSON
{
  "hex": "#b147a2",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 308.491,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57073,
    "c": 0.17479,
    "h": 333.5
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#B147A2
secondary
#90C398
accent
#D36755
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B147A2

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

Preview Lab → · Contrast checker → · Palette generator →

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