#B12EBB#B12EBB

#B12EBB is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.226 H 324.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B12EBB
RGBrgb(177, 46, 187)
HSLhsl(296, 61%, 46%)
HSVhsv(296, 75%, 73%)
CMYKcmyk(5.3%, 75.4%, 0%, 26.7%)
CIE-LABlab(45.48, 67.98, -46.63)
CIE-LCHlch(45.48, 82.44, 325.55°)
OKLaboklab(55.98% 0.1847 -0.1299)
OKLCHoklch(55.98% 0.226 324.9)
XYZxyz(28.0774, 14.8908, 48.3994)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EBB #38BB2E
analogous
#6B2EBB #B12EBB #BB2E7E
triadic
#B12EBB #BBB12E #2EBBB1
tetradic
#B12EBB #BB6B2E #38BB2E #2E7EBB
square
#B12EBB #BB6B2E #38BB2E #2E7EBB
split-complementary
#B12EBB #7EBB2E #2EBB6B
monochromatic
#541659 #83228A #B12EBB #CB52D4 #DA83E0

Accessibility & contrast

On white

5.28
#B12EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B12EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EBB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EBB#FFFFFF#000000##FFFFFF
##B12EBB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#B54873
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b12ebb;
/* rgb */ color: rgb(177, 46, 187);
/* oklch */ color: oklch(56.0% 0.226 324.9);
Tailwind
colors: {
  custom: {
    50: '#cc75d0',
    500: '#b12ebb',
    950: '#000000',
  },
}
SCSS
$custom: #b12ebb;
$custom-light: #cc75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ebb",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 295.745,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55983,
    "c": 0.22585,
    "h": 324.9
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#B12EBB
secondary
#81CA7B
accent
#E4444F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B12EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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