#B145B0#B145B0

#B145B0 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.189 H 328.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B145B0
RGBrgb(177, 69, 176)
HSLhsl(301, 44%, 48%)
HSVhsv(301, 61%, 69%)
CMYKcmyk(0%, 61%, 0.6%, 30.6%)
CIE-LABlab(47.93, 57.51, -36.30)
CIE-LCHlch(47.93, 68.01, 327.74°)
OKLaboklab(57.55% 0.1606 -0.1001)
OKLCHoklch(57.55% 0.189 328.1)
XYZxyz(28.0957, 16.7398, 42.8172)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145B0 #45B146
analogous
#7C45B1 #B145B0 #B1457A
triadic
#B145B0 #B0B145 #45B0B1
tetradic
#B145B0 #B17C45 #45B146 #457AB1
square
#B145B0 #B17C45 #45B146 #457AB1
split-complementary
#B145B0 #7AB145 #45B17C
monochromatic
#592358 #853484 #B145B0 #C66DC5 #D799D7

Accessibility & contrast

On white

4.83
#B145B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B145B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145B0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145B0#FFFFFF#000000##FFFFFF
##B145B01.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#B65274
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b145b0;
/* rgb */ color: rgb(177, 69, 176);
/* oklch */ color: oklch(57.5% 0.189 328.1);
Tailwind
colors: {
  custom: {
    50: '#cb80c8',
    500: '#b145b0',
    950: '#000000',
  },
}
SCSS
$custom: #b145b0;
$custom-light: #cb80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b145b0",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 300.556,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.18922,
    "h": 328.1
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#B145B0
secondary
#8EC38F
accent
#D45554
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B145B0

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

Preview Lab → · Contrast checker → · Palette generator →

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