#B12EBD#B12EBD

#B12EBD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.227 H 324.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B12EBD
RGBrgb(177, 46, 189)
HSLhsl(295, 61%, 46%)
HSVhsv(295, 76%, 74%)
CMYKcmyk(6.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(45.60, 68.32, -47.61)
CIE-LCHlch(45.60, 83.27, 325.13°)
OKLaboklab(56.11% 0.1846 -0.1328)
OKLCHoklch(56.11% 0.227 324.3)
XYZxyz(28.2930, 14.9770, 49.5349)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EBD #3ABD2E
analogous
#692EBD #B12EBD #BD2E81
triadic
#B12EBD #BDB12E #2EBDB1
tetradic
#B12EBD #BD692E #3ABD2E #2E81BD
square
#B12EBD #BD692E #3ABD2E #2E81BD
split-complementary
#B12EBD #81BD2E #2EBD69
monochromatic
#55165B #83228C #B12EBD #CA53D5 #D984E1

Accessibility & contrast

On white

5.26
#B12EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B12EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EBD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EBD#FFFFFF#000000##FFFFFF
##B12EBD1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#B44974
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b12ebd;
/* rgb */ color: rgb(177, 46, 189);
/* oklch */ color: oklch(56.1% 0.227 324.3);
Tailwind
colors: {
  custom: {
    50: '#cc75d1',
    500: '#b12ebd',
    950: '#000000',
  },
}
SCSS
$custom: #b12ebd;
$custom-light: #cc75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b12ebd",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 294.965,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.22742,
    "h": 324.3
  },
  "luminance": 0.14975
}

Semantic roles & 50–950 ramp

primary
#B12EBD
secondary
#83CA7C
accent
#E44451
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B12EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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