#B145B3#B145B3

#B145B3 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.192 H 327.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B145B3
RGBrgb(177, 69, 179)
HSLhsl(299, 44%, 49%)
HSVhsv(299, 61%, 70%)
CMYKcmyk(1.1%, 61.5%, 0%, 29.8%)
CIE-LABlab(48.08, 58.03, -37.82)
CIE-LCHlch(48.08, 69.27, 326.91°)
OKLaboklab(57.71% 0.1608 -0.1045)
OKLCHoklch(57.71% 0.192 327)
XYZxyz(28.3958, 16.8598, 44.3977)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145B3 #47B345
analogous
#7A45B3 #B145B3 #B3457E
triadic
#B145B3 #B3B145 #45B3B1
tetradic
#B145B3 #B37A45 #47B345 #457EB3
square
#B145B3 #B37A45 #47B345 #457EB3
split-complementary
#B145B3 #7EB345 #45B37A
monochromatic
#5A235B #853487 #B145B3 #C66EC7 #D79AD8

Accessibility & contrast

On white

4.80
#B145B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B145B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145B3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145B3#FFFFFF#000000##FFFFFF
##B145B31.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B6
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#B65376
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b145b3;
/* rgb */ color: rgb(177, 69, 179);
/* oklch */ color: oklch(57.7% 0.192 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb80ca',
    500: '#b145b3',
    950: '#000000',
  },
}
SCSS
$custom: #b145b3;
$custom-light: #cb80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b145b3",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 298.909,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.19176,
    "h": 327
  },
  "luminance": 0.16858
}

Semantic roles & 50–950 ramp

primary
#B145B3
secondary
#90C48F
accent
#D45456
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B145B3

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

Preview Lab → · Contrast checker → · Palette generator →

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