#B145B1#B145B1

#B145B1 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.6% C 0.190 H 327.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B145B1
RGBrgb(177, 69, 177)
HSLhsl(300, 44%, 48%)
HSVhsv(300, 61%, 69%)
CMYKcmyk(0%, 61%, 0%, 30.6%)
CIE-LABlab(47.98, 57.68, -36.81)
CIE-LCHlch(47.98, 68.43, 327.46°)
OKLaboklab(57.6% 0.1606 -0.1016)
OKLCHoklch(57.6% 0.19 327.7)
XYZxyz(28.1950, 16.7795, 43.3402)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145B1 #45B145
analogous
#7B45B1 #B145B1 #B1457B
triadic
#B145B1 #B1B145 #45B1B1
tetradic
#B145B1 #B17B45 #45B145 #457BB1
square
#B145B1 #B17B45 #45B145 #457BB1
split-complementary
#B145B1 #7BB145 #45B17B
monochromatic
#592359 #853485 #B145B1 #C66DC6 #D799D7

Accessibility & contrast

On white

4.82
#B145B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B145B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B145B1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145B1#FFFFFF#000000##FFFFFF
##B145B11.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#B65375
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b145b1;
/* rgb */ color: rgb(177, 69, 177);
/* oklch */ color: oklch(57.6% 0.190 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb80c9',
    500: '#b145b1',
    950: '#000000',
  },
}
SCSS
$custom: #b145b1;
$custom-light: #cb80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b145b1",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 300,
    "s": 43.902,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.19007,
    "h": 327.7
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#B145B1
secondary
#8EC38E
accent
#D45454
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B145B1

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

Preview Lab → · Contrast checker → · Palette generator →

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