#B146C4#B146C4

#B146C4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.205 H 321.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B146C4
RGBrgb(177, 70, 196)
HSLhsl(291, 52%, 52%)
HSVhsv(291, 64%, 77%)
CMYKcmyk(9.7%, 64.3%, 0%, 23.1%)
CIE-LABlab(49.15, 60.69, -46.02)
CIE-LCHlch(49.15, 76.17, 322.83°)
OKLaboklab(58.78% 0.1603 -0.1283)
OKLCHoklch(58.78% 0.205 321.3)
XYZxyz(30.2843, 17.7145, 54.0379)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146C4 #59C446
analogous
#7246C4 #B146C4 #C44698
triadic
#B146C4 #C4B146 #46C4B1
tetradic
#B146C4 #C47246 #59C446 #4698C4
square
#B146C4 #C47246 #59C446 #4698C4
split-complementary
#B146C4 #98C446 #46C472
monochromatic
#62236D #8B329B #B146C4 #C574D3 #D8A3E2

Accessibility & contrast

On white

4.62
#B146C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B146C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B146C4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146C4#FFFFFF#000000##FFFFFF
##B146C41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC8
Deuteranopia (green-blind)
#5479C1
Tritanopia (blue-blind)
#B35B7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b146c4;
/* rgb */ color: rgb(177, 70, 196);
/* oklch */ color: oklch(58.8% 0.205 321.3);
Tailwind
colors: {
  custom: {
    50: '#cc81d6',
    500: '#b146c4',
    950: '#000000',
  },
}
SCSS
$custom: #b146c4;
$custom-light: #cc81d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b146c4",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 290.952,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.20531,
    "h": 321.3
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#B146C4
secondary
#A0CE97
accent
#DB4D62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B146C4

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

Preview Lab → · Contrast checker → · Palette generator →

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