#B145A4#B145A4

#B145A4 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.179 H 332.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B145A4
RGBrgb(177, 69, 164)
HSLhsl(307, 44%, 48%)
HSVhsv(307, 61%, 69%)
CMYKcmyk(0%, 61%, 7.3%, 30.6%)
CIE-LABlab(47.35, 55.48, -30.14)
CIE-LCHlch(47.35, 63.14, 331.48°)
OKLaboklab(56.93% 0.1593 -0.0824)
OKLCHoklch(56.93% 0.179 332.6)
XYZxyz(26.9604, 16.2857, 36.8382)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145A4 #45B152
analogous
#8845B1 #B145A4 #B1456E
triadic
#B145A4 #A4B145 #45A4B1
tetradic
#B145A4 #B18845 #45B152 #456EB1
square
#B145A4 #B18845 #45B152 #456EB1
split-complementary
#B145A4 #6EB145 #45B188
monochromatic
#592352 #85347B #B145A4 #C66DBB #D799D0

Accessibility & contrast

On white

4.93
#B145A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B145A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145A4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145A4#FFFFFF#000000##FFFFFF
##B145A41.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4166A7
Deuteranopia (green-blind)
#6476A1
Tritanopia (blue-blind)
#B84E6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b145a4;
/* rgb */ color: rgb(177, 69, 164);
/* oklch */ color: oklch(56.9% 0.179 332.6);
Tailwind
colors: {
  custom: {
    50: '#cb7fbf',
    500: '#b145a4',
    950: '#000000',
  },
}
SCSS
$custom: #b145a4;
$custom-light: #cb7fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#b145a4",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 307.222,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.17932,
    "h": 332.6
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#B145A4
secondary
#8EC395
accent
#D46454
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B145A4

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

Preview Lab → · Contrast checker → · Palette generator →

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