#B146BC#B146BC

#B146BC is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.198 H 323.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B146BC
RGBrgb(177, 70, 188)
HSLhsl(294, 47%, 51%)
HSVhsv(294, 63%, 74%)
CMYKcmyk(5.9%, 62.8%, 0%, 26.3%)
CIE-LABlab(48.71, 59.22, -42.08)
CIE-LCHlch(48.71, 72.64, 324.60°)
OKLaboklab(58.32% 0.1601 -0.1168)
OKLCHoklch(58.32% 0.198 323.9)
XYZxyz(29.3979, 17.3599, 49.3695)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146BC #51BC46
analogous
#7646BC #B146BC #BC468C
triadic
#B146BC #BCB146 #46BCB1
tetradic
#B146BC #BC7646 #51BC46 #468CBC
square
#B146BC #BC7646 #51BC46 #468CBC
split-complementary
#B146BC #8CBC46 #46BC76
monochromatic
#5E2464 #883490 #B146BC #C473CC #D7A0DD

Accessibility & contrast

On white

4.70
#B146BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B146BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B146BC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146BC#FFFFFF#000000##FFFFFF
##B146BC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BC0
Deuteranopia (green-blind)
#5978B9
Tritanopia (blue-blind)
#B4587B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b146bc;
/* rgb */ color: rgb(177, 70, 188);
/* oklch */ color: oklch(58.3% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb81d0',
    500: '#b146bc',
    950: '#000000',
  },
}
SCSS
$custom: #b146bc;
$custom-light: #cb81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b146bc",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 294.407,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.19819,
    "h": 323.9
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#B146BC
secondary
#9AC995
accent
#D6515E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B146BC

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

Preview Lab → · Contrast checker → · Palette generator →

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