#B146C5#B146C5

#B146C5 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.8% C 0.206 H 321.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B146C5
RGBrgb(177, 70, 197)
HSLhsl(291, 52%, 52%)
HSVhsv(291, 64%, 77%)
CMYKcmyk(10.2%, 64.5%, 0%, 22.7%)
CIE-LABlab(49.20, 60.88, -46.51)
CIE-LCHlch(49.20, 76.62, 322.62°)
OKLaboklab(58.83% 0.1603 -0.1297)
OKLCHoklch(58.83% 0.206 321)
XYZxyz(30.3985, 17.7602, 54.6393)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146C5 #5AC546
analogous
#7146C5 #B146C5 #C5469A
triadic
#B146C5 #C5B146 #46C5B1
tetradic
#B146C5 #C57146 #5AC546 #469AC5
square
#B146C5 #C57146 #5AC546 #469AC5
split-complementary
#B146C5 #9AC546 #46C571
monochromatic
#62236E #8C319D #B146C5 #C575D4 #D8A3E2

Accessibility & contrast

On white

4.61
#B146C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B146C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B146C5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146C5#FFFFFF#000000##FFFFFF
##B146C51.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#B25B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b146c5;
/* rgb */ color: rgb(177, 70, 197);
/* oklch */ color: oklch(58.8% 0.206 321.0);
Tailwind
colors: {
  custom: {
    50: '#cc81d7',
    500: '#b146c5',
    950: '#000000',
  },
}
SCSS
$custom: #b146c5;
$custom-light: #cc81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b146c5",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 290.551,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58834,
    "c": 0.20621,
    "h": 321
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#B146C5
secondary
#A0CF98
accent
#DC4C63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B146C5

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

Preview Lab → · Contrast checker → · Palette generator →

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