#B145A7#B145A7

#B145A7 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.1% C 0.182 H 331.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B145A7
RGBrgb(177, 69, 167)
HSLhsl(306, 44%, 48%)
HSVhsv(306, 61%, 69%)
CMYKcmyk(0%, 61%, 5.6%, 30.6%)
CIE-LABlab(47.49, 55.97, -31.70)
CIE-LCHlch(47.49, 64.32, 330.48°)
OKLaboklab(57.08% 0.1596 -0.0868)
OKLCHoklch(57.08% 0.182 331.5)
XYZxyz(27.2346, 16.3953, 38.2819)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145A7 #45B14F
analogous
#8545B1 #B145A7 #B14571
triadic
#B145A7 #A7B145 #45A7B1
tetradic
#B145A7 #B18545 #45B14F #4571B1
square
#B145A7 #B18545 #45B14F #4571B1
split-complementary
#B145A7 #71B145 #45B185
monochromatic
#592354 #85347D #B145A7 #C66DBE #D799D2

Accessibility & contrast

On white

4.91
#B145A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B145A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145A7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145A7#FFFFFF#000000##FFFFFF
##B145A71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#B84F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b145a7;
/* rgb */ color: rgb(177, 69, 167);
/* oklch */ color: oklch(57.1% 0.182 331.5);
Tailwind
colors: {
  custom: {
    50: '#cb7fc1',
    500: '#b145a7',
    950: '#000000',
  },
}
SCSS
$custom: #b145a7;
$custom-light: #cb7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b145a7",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 305.556,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.18174,
    "h": 331.5
  },
  "luminance": 0.16393
}

Semantic roles & 50–950 ramp

primary
#B145A7
secondary
#8EC393
accent
#D46054
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B145A7

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

Preview Lab → · Contrast checker → · Palette generator →

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