#B147B3#B147B3

#B147B3 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.189 H 326.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B147B3
RGBrgb(177, 71, 179)
HSLhsl(299, 43%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(1.1%, 60.3%, 0%, 29.8%)
CIE-LABlab(48.40, 57.16, -37.32)
CIE-LCHlch(48.40, 68.27, 326.86°)
OKLaboklab(57.94% 0.1584 -0.1031)
OKLCHoklch(57.94% 0.189 326.9)
XYZxyz(28.5209, 17.1100, 44.4394)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147B3 #49B347
analogous
#7B47B3 #B147B3 #B3477F
triadic
#B147B3 #B3B147 #47B3B1
tetradic
#B147B3 #B37B47 #49B347 #477FB3
square
#B147B3 #B37B47 #49B347 #477FB3
split-complementary
#B147B3 #7FB347 #47B37B
monochromatic
#5A245B #863687 #B147B3 #C571C7 #D79CD8

Accessibility & contrast

On white

4.75
#B147B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B147B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147B3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147B3#FFFFFF#000000##FFFFFF
##B147B31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#B65576
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b147b3;
/* rgb */ color: rgb(177, 71, 179);
/* oklch */ color: oklch(57.9% 0.189 326.9);
Tailwind
colors: {
  custom: {
    50: '#cb81ca',
    500: '#b147b3',
    950: '#000000',
  },
}
SCSS
$custom: #b147b3;
$custom-light: #cb81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b147b3",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 298.889,
    "s": 43.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.18894,
    "h": 326.9
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#B147B3
secondary
#92C491
accent
#D35557
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B147B3

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

Preview Lab → · Contrast checker → · Palette generator →

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