#B145B7#B145B7

#B145B7 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.9% C 0.195 H 325.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B145B7
RGBrgb(177, 69, 183)
HSLhsl(297, 45%, 49%)
HSVhsv(297, 62%, 72%)
CMYKcmyk(3.3%, 62.3%, 0%, 28.2%)
CIE-LABlab(48.29, 58.74, -39.83)
CIE-LCHlch(48.29, 70.97, 325.86°)
OKLaboklab(57.93% 0.161 -0.1103)
OKLCHoklch(57.93% 0.195 325.6)
XYZxyz(28.8062, 17.0240, 46.5592)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145B7 #4BB745
analogous
#7845B7 #B145B7 #B74584
triadic
#B145B7 #B7B145 #45B7B1
tetradic
#B145B7 #B77845 #4BB745 #4584B7
square
#B145B7 #B77845 #4BB745 #4584B7
split-complementary
#B145B7 #84B745 #45B778
monochromatic
#5B235E #86348B #B145B7 #C470C9 #D79DDA

Accessibility & contrast

On white

4.77
#B145B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B145B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145B7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145B7#FFFFFF#000000##FFFFFF
##B145B71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#B55578
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b145b7;
/* rgb */ color: rgb(177, 69, 183);
/* oklch */ color: oklch(57.9% 0.195 325.6);
Tailwind
colors: {
  custom: {
    50: '#cb80cd',
    500: '#b145b7',
    950: '#000000',
  },
}
SCSS
$custom: #b145b7;
$custom-light: #cb80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b145b7",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 296.842,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.1952,
    "h": 325.6
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#B145B7
secondary
#94C692
accent
#D5535A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B145B7

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

Preview Lab → · Contrast checker → · Palette generator →

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