#B145C5#B145C5

#B145C5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.208 H 321.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B145C5
RGBrgb(177, 69, 197)
HSLhsl(291, 52%, 52%)
HSVhsv(291, 65%, 77%)
CMYKcmyk(10.2%, 65%, 0%, 22.7%)
CIE-LABlab(49.05, 61.31, -46.75)
CIE-LCHlch(49.05, 77.10, 322.67°)
OKLaboklab(58.72% 0.1614 -0.1304)
OKLCHoklch(58.72% 0.208 321.1)
XYZxyz(30.3365, 17.6361, 54.6187)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145C5 #59C545
analogous
#7145C5 #B145C5 #C54599
triadic
#B145C5 #C5B145 #45C5B1
tetradic
#B145C5 #C57145 #59C545 #4599C5
square
#B145C5 #C57145 #59C545 #4599C5
split-complementary
#B145C5 #99C545 #45C571
monochromatic
#62226D #8B319C #B145C5 #C574D4 #D8A2E2

Accessibility & contrast

On white

4.64
#B145C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#B145C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B145C5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145C5#FFFFFF#000000##FFFFFF
##B145C51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216DC9
Deuteranopia (green-blind)
#5279C2
Tritanopia (blue-blind)
#B25A7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b145c5;
/* rgb */ color: rgb(177, 69, 197);
/* oklch */ color: oklch(58.7% 0.208 321.1);
Tailwind
colors: {
  custom: {
    50: '#cc80d7',
    500: '#b145c5',
    950: '#000000',
  },
}
SCSS
$custom: #b145c5;
$custom-light: #cc80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b145c5",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 290.625,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.20753,
    "h": 321.1
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#B145C5
secondary
#A0CF97
accent
#DC4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B145C5

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

Preview Lab → · Contrast checker → · Palette generator →

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