#B12ED3#B12ED3

#B12ED3 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.245 H 318.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B12ED3
RGBrgb(177, 46, 211)
HSLhsl(288, 65%, 50%)
HSVhsv(288, 78%, 83%)
CMYKcmyk(16.1%, 78.2%, 0%, 17.3%)
CIE-LABlab(46.98, 72.20, -58.14)
CIE-LCHlch(46.98, 92.70, 321.16°)
OKLaboklab(57.52% 0.1823 -0.1636)
OKLCHoklch(57.52% 0.245 318.1)
XYZxyz(30.8647, 16.0057, 63.0790)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12ED3 #50D32E
analogous
#5E2ED3 #B12ED3 #D32EA3
triadic
#B12ED3 #D3B12E #2ED3B1
tetradic
#B12ED3 #D35E2E #50D32E #2EA3D3
square
#B12ED3 #D35E2E #50D32E #2EA3D3
split-complementary
#B12ED3 #A3D32E #2ED35E
monochromatic
#5D176F #8722A2 #B12ED3 #C461DE #D793E8

Accessibility & contrast

On white

5.00
#B12ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B12ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12ED3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12ED3#FFFFFF#000000##FFFFFF
##B12ED31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#B05381
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b12ed3;
/* rgb */ color: rgb(177, 46, 211);
/* oklch */ color: oklch(57.5% 0.245 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd76e1',
    500: '#b12ed3',
    950: '#000000',
  },
}
SCSS
$custom: #b12ed3;
$custom-light: #cd76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ed3",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 211
  },
  "hsl": {
    "h": 287.636,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.24496,
    "h": 318.1
  },
  "luminance": 0.16004
}

Semantic roles & 50–950 ramp

primary
#B12ED3
secondary
#99D38A
accent
#E84062
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B12ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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