#B146C7#B146C7

#B146C7 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.208 H 320.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B146C7
RGBrgb(177, 70, 199)
HSLhsl(290, 54%, 53%)
HSVhsv(290, 65%, 78%)
CMYKcmyk(11.1%, 64.8%, 0%, 22%)
CIE-LABlab(49.32, 61.26, -47.49)
CIE-LCHlch(49.32, 77.51, 322.22°)
OKLaboklab(58.95% 0.1603 -0.1326)
OKLCHoklch(58.95% 0.208 320.4)
XYZxyz(30.6292, 17.8524, 55.8543)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146C7 #5CC746
analogous
#7046C7 #B146C7 #C7469D
triadic
#B146C7 #C7B146 #46C7B1
tetradic
#B146C7 #C77046 #5CC746 #469DC7
square
#B146C7 #C77046 #5CC746 #469DC7
split-complementary
#B146C7 #9DC746 #46C770
monochromatic
#632271 #8D30A0 #B146C7 #C575D5 #D9A4E3

Accessibility & contrast

On white

4.59
#B146C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#B146C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B146C7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146C7#FFFFFF#000000##FFFFFF
##B146C71.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206ECB
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#B25C81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b146c7;
/* rgb */ color: rgb(177, 70, 199);
/* oklch */ color: oklch(59.0% 0.208 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc81d8',
    500: '#b146c7',
    950: '#000000',
  },
}
SCSS
$custom: #b146c7;
$custom-light: #cc81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b146c7",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 289.767,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.20801,
    "h": 320.4
  },
  "luminance": 0.17851
}

Semantic roles & 50–950 ramp

primary
#B146C7
secondary
#A2D098
accent
#DD4B64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B146C7

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

Preview Lab → · Contrast checker → · Palette generator →

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