#B12FC9#B12FC9

#B12FC9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.236 H 320.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B12FC9
RGBrgb(177, 47, 201)
HSLhsl(291, 62%, 49%)
HSVhsv(291, 77%, 79%)
CMYKcmyk(11.9%, 76.6%, 0%, 21.2%)
CIE-LABlab(46.44, 70.10, -53.24)
CIE-LCHlch(46.44, 88.02, 322.78°)
OKLaboklab(56.94% 0.1828 -0.1493)
OKLCHoklch(56.94% 0.236 320.8)
XYZxyz(29.6894, 15.5988, 56.6941)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FC9 #47C92F
analogous
#642FC9 #B12FC9 #C92F94
triadic
#B12FC9 #C9B12F #2FC9B1
tetradic
#B12FC9 #C9642F #47C92F #2F94C9
square
#B12FC9 #C9642F #47C92F #2F94C9
split-complementary
#B12FC9 #94C92F #2FC964
monochromatic
#5A1866 #852397 #B12FC9 #C65CD9 #D78EE5

Accessibility & contrast

On white

5.10
#B12FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B12FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12FC9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12FC9#FFFFFF#000000##FFFFFF
##B12FC91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#B24F7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b12fc9;
/* rgb */ color: rgb(177, 47, 201);
/* oklch */ color: oklch(56.9% 0.236 320.8);
Tailwind
colors: {
  custom: {
    50: '#cd76da',
    500: '#b12fc9',
    950: '#000000',
  },
}
SCSS
$custom: #b12fc9;
$custom-light: #cd76da;
$custom-dark: #000000;
JSON
{
  "hex": "#b12fc9",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 290.649,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.23597,
    "h": 320.8
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#B12FC9
secondary
#90CF85
accent
#E5435C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B12FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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