#B146BA#B146BA

#B146BA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.196 H 324.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B146BA
RGBrgb(177, 70, 186)
HSLhsl(295, 46%, 50%)
HSVhsv(295, 62%, 73%)
CMYKcmyk(4.8%, 62.4%, 0%, 27.1%)
CIE-LABlab(48.60, 58.85, -41.08)
CIE-LCHlch(48.60, 71.77, 325.08°)
OKLaboklab(58.21% 0.16 -0.114)
OKLCHoklch(58.21% 0.196 324.5)
XYZxyz(29.1838, 17.2743, 48.2419)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146BA #4FBA46
analogous
#7746BA #B146BA #BA4689
triadic
#B146BA #BAB146 #46BAB1
tetradic
#B146BA #BA7746 #4FBA46 #4689BA
square
#B146BA #BA7746 #4FBA46 #4689BA
split-complementary
#B146BA #89BA46 #46BA77
monochromatic
#5D2461 #87358E #B146BA #C473CB #D79FDB

Accessibility & contrast

On white

4.71
#B146BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B146BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B146BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146BA#FFFFFF#000000##FFFFFF
##B146BA1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#B5577A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b146ba;
/* rgb */ color: rgb(177, 70, 186);
/* oklch */ color: oklch(58.2% 0.196 324.5);
Tailwind
colors: {
  custom: {
    50: '#cb81cf',
    500: '#b146ba',
    950: '#000000',
  },
}
SCSS
$custom: #b146ba;
$custom-light: #cb81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b146ba",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 295.345,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.19644,
    "h": 324.5
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#B146BA
secondary
#98C894
accent
#D5525D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B146BA

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

Preview Lab → · Contrast checker → · Palette generator →

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