#B12CB7#B12CB7

#B12CB7 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.225 H 326.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B12CB7
RGBrgb(177, 44, 183)
HSLhsl(297, 61%, 45%)
HSVhsv(297, 76%, 72%)
CMYKcmyk(3.3%, 76%, 0%, 28.2%)
CIE-LABlab(45.04, 67.92, -44.99)
CIE-LCHlch(45.04, 81.47, 326.48°)
OKLaboklab(55.59% 0.1866 -0.1251)
OKLCHoklch(55.59% 0.225 326.2)
XYZxyz(27.5788, 14.5693, 46.1501)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CB7 #32B72C
analogous
#6C2CB7 #B12CB7 #B72C78
triadic
#B12CB7 #B7B12C #2CB7B1
tetradic
#B12CB7 #B76C2C #32B72C #2C78B7
square
#B12CB7 #B76C2C #32B72C #2C78B7
split-complementary
#B12CB7 #78B72C #2CB76C
monochromatic
#521454 #812086 #B12CB7 #CE4CD4 #DC7EE0

Accessibility & contrast

On white

5.37
#B12CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B12CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12CB7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CB7#FFFFFF#000000##FFFFFF
##B12CB71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#4E70B4
Tritanopia (blue-blind)
#B64570
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b12cb7;
/* rgb */ color: rgb(177, 44, 183);
/* oklch */ color: oklch(55.6% 0.225 326.2);
Tailwind
colors: {
  custom: {
    50: '#cc74cd',
    500: '#b12cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b12cb7;
$custom-light: #cc74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b12cb7",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 297.41,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.2247,
    "h": 326.2
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#B12CB7
secondary
#7AC876
accent
#E4434A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B12CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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