#B145A3#B145A3

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

Color values

HEX#B145A3
RGBrgb(177, 69, 163)
HSLhsl(308, 44%, 48%)
HSVhsv(308, 61%, 69%)
CMYKcmyk(0%, 61%, 7.9%, 30.6%)
CIE-LABlab(47.30, 55.31, -29.62)
CIE-LCHlch(47.30, 62.74, 331.83°)
OKLaboklab(56.89% 0.1591 -0.0809)
OKLCHoklch(56.89% 0.179 333.1)
XYZxyz(26.8705, 16.2497, 36.3645)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145A3 #45B153
analogous
#8945B1 #B145A3 #B1456D
triadic
#B145A3 #A3B145 #45A3B1
tetradic
#B145A3 #B18945 #45B153 #456DB1
square
#B145A3 #B18945 #45B153 #456DB1
split-complementary
#B145A3 #6DB145 #45B189
monochromatic
#592352 #85347A #B145A3 #C66DBB #D799CF

Accessibility & contrast

On white

4.94
#B145A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B145A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145A3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145A3#FFFFFF#000000##FFFFFF
##B145A31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A6
Deuteranopia (green-blind)
#6576A0
Tritanopia (blue-blind)
#B84D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b145a3;
/* rgb */ color: rgb(177, 69, 163);
/* oklch */ color: oklch(56.9% 0.179 333.1);
Tailwind
colors: {
  custom: {
    50: '#cb7fbe',
    500: '#b145a3',
    950: '#000000',
  },
}
SCSS
$custom: #b145a3;
$custom-light: #cb7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#b145a3",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 307.778,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.17853,
    "h": 333.1
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B145A3

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

Preview Lab → · Contrast checker → · Palette generator →

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