#B145BF#B145BF

#B145BF is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.4% C 0.202 H 322.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B145BF
RGBrgb(177, 69, 191)
HSLhsl(293, 49%, 51%)
HSVhsv(293, 64%, 75%)
CMYKcmyk(7.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(48.72, 60.19, -43.81)
CIE-LCHlch(48.72, 74.45, 323.95°)
OKLaboklab(58.38% 0.1613 -0.1219)
OKLCHoklch(58.38% 0.202 322.9)
XYZxyz(29.6626, 17.3666, 51.0698)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145BF #53BF45
analogous
#7445BF #B145BF #BF4590
triadic
#B145BF #BFB145 #45BFB1
tetradic
#B145BF #BF7445 #53BF45 #4590BF
square
#B145BF #BF7445 #53BF45 #4590BF
split-complementary
#B145BF #90BF45 #45BF74
monochromatic
#5F2366 #893394 #B145BF #C473CF #D7A0DE

Accessibility & contrast

On white

4.69
#B145BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B145BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145BF#FFFFFF#000000##FFFFFF
##B145BF1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#B4587C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b145bf;
/* rgb */ color: rgb(177, 69, 191);
/* oklch */ color: oklch(58.4% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#cb80d3',
    500: '#b145bf',
    950: '#000000',
  },
}
SCSS
$custom: #b145bf;
$custom-light: #cb80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b145bf",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 293.115,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.2022,
    "h": 322.9
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#B145BF
secondary
#9BCB95
accent
#D84F5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B145BF

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

Preview Lab → · Contrast checker → · Palette generator →

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