#B147B2#B147B2

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

Color values

HEX#B147B2
RGBrgb(177, 71, 178)
HSLhsl(299, 43%, 49%)
HSVhsv(299, 60%, 70%)
CMYKcmyk(0.6%, 60.1%, 0%, 30.2%)
CIE-LABlab(48.35, 56.99, -36.82)
CIE-LCHlch(48.35, 67.85, 327.14°)
OKLaboklab(57.89% 0.1583 -0.1016)
OKLCHoklch(57.89% 0.188 327.3)
XYZxyz(28.4201, 17.0697, 43.9087)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147B2 #48B247
analogous
#7C47B2 #B147B2 #B2477E
triadic
#B147B2 #B2B147 #47B2B1
tetradic
#B147B2 #B27C47 #48B247 #477EB2
square
#B147B2 #B27C47 #48B247 #477EB2
split-complementary
#B147B2 #7EB247 #47B27C
monochromatic
#5A245B #853686 #B147B2 #C570C6 #D79CD7

Accessibility & contrast

On white

4.76
#B147B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B147B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147B2#FFFFFF#000000##FFFFFF
##B147B21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#B65576
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b147b2;
/* rgb */ color: rgb(177, 71, 178);
/* oklch */ color: oklch(57.9% 0.188 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb81c9',
    500: '#b147b2',
    950: '#000000',
  },
}
SCSS
$custom: #b147b2;
$custom-light: #cb81c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b147b2",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 299.439,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.18808,
    "h": 327.3
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#B147B2
secondary
#91C491
accent
#D35556
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B147B2

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

Preview Lab → · Contrast checker → · Palette generator →

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