#B132C2#B132C2

#B132C2 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.227 H 322.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B132C2
RGBrgb(177, 50, 194)
HSLhsl(293, 59%, 48%)
HSVhsv(293, 74%, 76%)
CMYKcmyk(8.8%, 74.2%, 0%, 23.9%)
CIE-LABlab(46.35, 67.91, -49.34)
CIE-LCHlch(46.35, 83.94, 324.00°)
OKLaboklab(56.73% 0.1808 -0.1379)
OKLCHoklch(56.73% 0.227 322.7)
XYZxyz(29.0087, 15.5251, 52.4972)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B132C2 #43C232
analogous
#6932C2 #B132C2 #C2328B
triadic
#B132C2 #C2B132 #32C2B1
tetradic
#B132C2 #C26932 #43C232 #328BC2
square
#B132C2 #C26932 #43C232 #328BC2
split-complementary
#B132C2 #8BC232 #32C269
monochromatic
#581961 #852591 #B132C2 #C75CD5 #D88DE2

Accessibility & contrast

On white

5.12
#B132C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B132C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B132C2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B132C2#FFFFFF#000000##FFFFFF
##B132C21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4973BF
Tritanopia (blue-blind)
#B34D78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b132c2;
/* rgb */ color: rgb(177, 50, 194);
/* oklch */ color: oklch(56.7% 0.227 322.7);
Tailwind
colors: {
  custom: {
    50: '#cc77d5',
    500: '#b132c2',
    950: '#000000',
  },
}
SCSS
$custom: #b132c2;
$custom-light: #cc77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b132c2",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 292.917,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56729,
    "c": 0.22738,
    "h": 322.7
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#B132C2
secondary
#8CCC84
accent
#E24658
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B132C2

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

Preview Lab → · Contrast checker → · Palette generator →

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