#B145C8#B145C8

#B145C8 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 58.9% C 0.210 H 320.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B145C8
RGBrgb(177, 69, 200)
HSLhsl(289, 54%, 53%)
HSVhsv(289, 66%, 78%)
CMYKcmyk(11.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(49.22, 61.87, -48.21)
CIE-LCHlch(49.22, 78.44, 322.07°)
OKLaboklab(58.9% 0.1614 -0.1347)
OKLCHoklch(58.9% 0.21 320.1)
XYZxyz(30.6836, 17.7750, 56.4471)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145C8 #5CC845
analogous
#7045C8 #B145C8 #C8459D
triadic
#B145C8 #C8B145 #45C8B1
tetradic
#B145C8 #C87045 #5CC845 #459DC8
square
#B145C8 #C87045 #5CC845 #459DC8
split-complementary
#B145C8 #9DC845 #45C870
monochromatic
#632171 #8D2FA0 #B145C8 #C574D6 #D9A3E4

Accessibility & contrast

On white

4.61
#B145C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B145C8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145C8#FFFFFF#000000##FFFFFF
##B145C81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECC
Deuteranopia (green-blind)
#5079C5
Tritanopia (blue-blind)
#B25C81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b145c8;
/* rgb */ color: rgb(177, 69, 200);
/* oklch */ color: oklch(58.9% 0.210 320.1);
Tailwind
colors: {
  custom: {
    50: '#cc80d9',
    500: '#b145c8',
    950: '#000000',
  },
}
SCSS
$custom: #b145c8;
$custom-light: #cc80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b145c8",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 289.466,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.21022,
    "h": 320.1
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#B145C8
secondary
#A2D198
accent
#DE4A64
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #B145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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