#B12CA2#B12CA2

#B12CA2 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.209 H 333.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B12CA2
RGBrgb(177, 44, 162)
HSLhsl(307, 60%, 43%)
HSVhsv(307, 75%, 69%)
CMYKcmyk(0%, 75.1%, 8.5%, 30.6%)
CIE-LABlab(43.89, 64.58, -34.38)
CIE-LCHlch(43.89, 73.16, 331.97°)
OKLaboklab(54.4% 0.1866 -0.0944)
OKLCHoklch(54.4% 0.209 333.2)
XYZxyz(25.5539, 13.7593, 35.4854)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CA2 #2CB13B
analogous
#7D2CB1 #B12CA2 #B12C5F
triadic
#B12CA2 #A2B12C #2CA2B1
tetradic
#B12CA2 #B17D2C #2CB13B #2C5FB1
square
#B12CA2 #B17D2C #2CB13B #2C5FB1
split-complementary
#B12CA2 #5FB12C #2CB17D
monochromatic
#4F1448 #802075 #B12CA2 #D249C2 #DE7AD3

Accessibility & contrast

On white

5.60
#B12CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B12CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12CA2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CA2#FFFFFF#000000##FFFFFF
##B12CA21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#596E9F
Tritanopia (blue-blind)
#B93A65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b12ca2;
/* rgb */ color: rgb(177, 44, 162);
/* oklch */ color: oklch(54.4% 0.209 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc73be',
    500: '#b12ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b12ca2;
$custom-light: #cc73be;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ca2",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 306.767,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.20907,
    "h": 333.2
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#B12CA2
secondary
#73C67C
accent
#E35644
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B12CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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