#B145A6#B145A6

#B145A6 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.181 H 331.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B145A6
RGBrgb(177, 69, 166)
HSLhsl(306, 44%, 48%)
HSVhsv(306, 61%, 69%)
CMYKcmyk(0%, 61%, 6.2%, 30.6%)
CIE-LABlab(47.44, 55.81, -31.18)
CIE-LCHlch(47.44, 63.93, 330.81°)
OKLaboklab(57.03% 0.1595 -0.0854)
OKLCHoklch(57.03% 0.181 331.9)
XYZxyz(27.1425, 16.3585, 37.7969)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145A6 #45B150
analogous
#8645B1 #B145A6 #B14570
triadic
#B145A6 #A6B145 #45A6B1
tetradic
#B145A6 #B18645 #45B150 #4570B1
square
#B145A6 #B18645 #45B150 #4570B1
split-complementary
#B145A6 #70B145 #45B186
monochromatic
#592353 #85347D #B145A6 #C66DBD #D799D1

Accessibility & contrast

On white

4.92
#B145A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B145A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145A6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145A6#FFFFFF#000000##FFFFFF
##B145A61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067A9
Deuteranopia (green-blind)
#6376A3
Tritanopia (blue-blind)
#B84F6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b145a6;
/* rgb */ color: rgb(177, 69, 166);
/* oklch */ color: oklch(57.0% 0.181 331.9);
Tailwind
colors: {
  custom: {
    50: '#cb7fc0',
    500: '#b145a6',
    950: '#000000',
  },
}
SCSS
$custom: #b145a6;
$custom-light: #cb7fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#b145a6",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 306.111,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.18093,
    "h": 331.9
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#B145A6
secondary
#8EC394
accent
#D46154
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B145A6

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

Preview Lab → · Contrast checker → · Palette generator →

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