#B145AA#B145AA

#B145AA is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.184 H 330.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B145AA
RGBrgb(177, 69, 170)
HSLhsl(304, 44%, 48%)
HSVhsv(304, 61%, 69%)
CMYKcmyk(0%, 61%, 4%, 30.6%)
CIE-LABlab(47.63, 56.48, -33.24)
CIE-LCHlch(47.63, 65.53, 329.52°)
OKLaboklab(57.24% 0.16 -0.0913)
OKLCHoklch(57.24% 0.184 330.3)
XYZxyz(27.5151, 16.5076, 39.7595)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145AA #45B14C
analogous
#8245B1 #B145AA #B14574
triadic
#B145AA #AAB145 #45AAB1
tetradic
#B145AA #B18245 #45B14C #4574B1
square
#B145AA #B18245 #45B14C #4574B1
split-complementary
#B145AA #74B145 #45B182
monochromatic
#592355 #853480 #B145AA #C66DC0 #D799D3

Accessibility & contrast

On white

4.88
#B145AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B145AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145AA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145AA#FFFFFF#000000##FFFFFF
##B145AA1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#6276A7
Tritanopia (blue-blind)
#B75071
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b145aa;
/* rgb */ color: rgb(177, 69, 170);
/* oklch */ color: oklch(57.2% 0.184 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb80c3',
    500: '#b145aa',
    950: '#000000',
  },
}
SCSS
$custom: #b145aa;
$custom-light: #cb80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b145aa",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 303.889,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57236,
    "c": 0.18421,
    "h": 330.3
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#B145AA
secondary
#8EC392
accent
#D45C54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B145AA

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

Preview Lab → · Contrast checker → · Palette generator →

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