#B145C7#B145C7

#B145C7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.209 H 320.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B145C7
RGBrgb(177, 69, 199)
HSLhsl(290, 54%, 53%)
HSVhsv(290, 65%, 78%)
CMYKcmyk(11.1%, 65.3%, 0%, 22%)
CIE-LABlab(49.16, 61.68, -47.73)
CIE-LCHlch(49.16, 77.99, 322.27°)
OKLaboklab(58.84% 0.1614 -0.1333)
OKLCHoklch(58.84% 0.209 320.4)
XYZxyz(30.5672, 17.7284, 55.8336)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145C7 #5BC745
analogous
#7045C7 #B145C7 #C7459C
triadic
#B145C7 #C7B145 #45C7B1
tetradic
#B145C7 #C77045 #5BC745 #459CC7
square
#B145C7 #C77045 #5BC745 #459CC7
split-complementary
#B145C7 #9CC745 #45C770
monochromatic
#632270 #8C309F #B145C7 #C574D5 #D8A3E3

Accessibility & contrast

On white

4.62
#B145C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B145C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B145C7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145C7#FFFFFF#000000##FFFFFF
##B145C71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#5179C4
Tritanopia (blue-blind)
#B25B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b145c7;
/* rgb */ color: rgb(177, 69, 199);
/* oklch */ color: oklch(58.8% 0.209 320.4);
Tailwind
colors: {
  custom: {
    50: '#cc80d8',
    500: '#b145c7',
    950: '#000000',
  },
}
SCSS
$custom: #b145c7;
$custom-light: #cc80d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b145c7",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 289.846,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.20933,
    "h": 320.4
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#B145C7
secondary
#A1D098
accent
#DD4B63
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B145C7

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

Preview Lab → · Contrast checker → · Palette generator →

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