#B12CC2#B12CC2

#B12CC2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.233 H 322.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B12CC2
RGBrgb(177, 44, 194)
HSLhsl(293, 63%, 47%)
HSVhsv(293, 77%, 76%)
CMYKcmyk(8.8%, 77.3%, 0%, 23.9%)
CIE-LABlab(45.70, 69.78, -50.38)
CIE-LCHlch(45.70, 86.06, 324.17°)
OKLaboklab(56.27% 0.1859 -0.1409)
OKLCHoklch(56.27% 0.233 322.8)
XYZxyz(28.7688, 15.0453, 52.4172)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12CC2 #3DC22C
analogous
#662CC2 #B12CC2 #C22C88
triadic
#B12CC2 #C2B12C #2CC2B1
tetradic
#B12CC2 #C2662C #3DC22C #2C88C2
square
#B12CC2 #C2662C #3DC22C #2C88C2
split-complementary
#B12CC2 #88C22C #2CC266
monochromatic
#56155E #832190 #B12CC2 #C953D8 #D985E3

Accessibility & contrast

On white

5.24
#B12CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B12CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12CC2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12CC2#FFFFFF#000000##FFFFFF
##B12CC21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#B44A77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b12cc2;
/* rgb */ color: rgb(177, 44, 194);
/* oklch */ color: oklch(56.3% 0.233 322.8);
Tailwind
colors: {
  custom: {
    50: '#cd75d5',
    500: '#b12cc2',
    950: '#000000',
  },
}
SCSS
$custom: #b12cc2;
$custom-light: #cd75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b12cc2",
  "rgb": {
    "r": 177,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 293.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.23322,
    "h": 322.8
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#B12CC2
secondary
#86CD7D
accent
#E64254
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140914
muted
#837B83

Preview Lab

Preview with #B12CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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