#B146B2#B146B2

#B146B2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.190 H 327.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B146B2
RGBrgb(177, 70, 178)
HSLhsl(299, 44%, 49%)
HSVhsv(299, 61%, 70%)
CMYKcmyk(0.6%, 60.7%, 0%, 30.2%)
CIE-LABlab(48.19, 57.42, -37.07)
CIE-LCHlch(48.19, 68.35, 327.16°)
OKLaboklab(57.77% 0.1595 -0.1023)
OKLCHoklch(57.77% 0.19 327.3)
XYZxyz(28.3571, 16.9436, 43.8877)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146B2 #47B246
analogous
#7B46B2 #B146B2 #B2467D
triadic
#B146B2 #B2B146 #46B2B1
tetradic
#B146B2 #B27B46 #47B246 #467DB2
square
#B146B2 #B27B46 #47B246 #467DB2
split-complementary
#B146B2 #7DB246 #46B27B
monochromatic
#5A235A #853586 #B146B2 #C66FC6 #D79BD8

Accessibility & contrast

On white

4.79
#B146B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B146B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B146B2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146B2#FFFFFF#000000##FFFFFF
##B146B21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#B65476
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b146b2;
/* rgb */ color: rgb(177, 70, 178);
/* oklch */ color: oklch(57.8% 0.190 327.3);
Tailwind
colors: {
  custom: {
    50: '#cb80c9',
    500: '#b146b2',
    950: '#000000',
  },
}
SCSS
$custom: #b146b2;
$custom-light: #cb80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b146b2",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 299.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.1895,
    "h": 327.3
  },
  "luminance": 0.16942
}

Semantic roles & 50–950 ramp

primary
#B146B2
secondary
#90C490
accent
#D35556
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B146B2

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

Preview Lab → · Contrast checker → · Palette generator →

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