#B145C2#B145C2

#B145C2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.205 H 322.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B145C2
RGBrgb(177, 69, 194)
HSLhsl(292, 51%, 52%)
HSVhsv(292, 64%, 76%)
CMYKcmyk(8.8%, 64.4%, 0%, 23.9%)
CIE-LABlab(48.88, 60.75, -45.29)
CIE-LCHlch(48.88, 75.77, 323.30°)
OKLaboklab(58.55% 0.1614 -0.1262)
OKLCHoklch(58.55% 0.205 322)
XYZxyz(29.9962, 17.5000, 52.8263)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B145C2 #56C245
analogous
#7345C2 #B145C2 #C24595
triadic
#B145C2 #C2B145 #45C2B1
tetradic
#B145C2 #C27345 #56C245 #4595C2
square
#B145C2 #C27345 #56C245 #4595C2
split-complementary
#B145C2 #95C245 #45C273
monochromatic
#60236A #8A3298 #B145C2 #C473D1 #D8A1E0

Accessibility & contrast

On white

4.67
#B145C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B145C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B145C2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B145C2#FFFFFF#000000##FFFFFF
##B145C21.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#B3597E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b145c2;
/* rgb */ color: rgb(177, 69, 194);
/* oklch */ color: oklch(58.5% 0.205 322.0);
Tailwind
colors: {
  custom: {
    50: '#cc80d5',
    500: '#b145c2',
    950: '#000000',
  },
}
SCSS
$custom: #b145c2;
$custom-light: #cc80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b145c2",
  "rgb": {
    "r": 177,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 291.84,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.20486,
    "h": 322
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#B145C2
secondary
#9DCD96
accent
#DA4E61
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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