#B12EDB#B12EDB

#B12EDB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.1% C 0.251 H 316.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B12EDB
RGBrgb(177, 46, 219)
HSLhsl(285, 71%, 52%)
HSVhsv(285, 79%, 86%)
CMYKcmyk(19.2%, 79%, 0%, 14.1%)
CIE-LABlab(47.52, 73.67, -61.85)
CIE-LCHlch(47.52, 96.19, 319.98°)
OKLaboklab(58.07% 0.181 -0.1745)
OKLCHoklch(58.07% 0.251 316)
XYZxyz(31.8926, 16.4169, 68.4929)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EDB #58DB2E
analogous
#5B2EDB #B12EDB #DB2EAE
triadic
#B12EDB #DBB12E #2EDBB1
tetradic
#B12EDB #DB5B2E #58DB2E #2EAEDB
square
#B12EDB #DB5B2E #58DB2E #2EAEDB
split-complementary
#B12EDB #AEDB2E #2EDB5B
monochromatic
#61157A #8B1EAE #B12EDB #C462E4 #D896ED

Accessibility & contrast

On white

4.90
#B12EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B12EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EDB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EDB#FFFFFF#000000##FFFFFF
##B12EDB1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#2A74D7
Tritanopia (blue-blind)
#AE5785
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b12edb;
/* rgb */ color: rgb(177, 46, 219);
/* oklch */ color: oklch(58.1% 0.251 316.0);
Tailwind
colors: {
  custom: {
    50: '#cd77e7',
    500: '#b12edb',
    950: '#000000',
  },
}
SCSS
$custom: #b12edb;
$custom-light: #cd77e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b12edb",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 285.434,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.25145,
    "h": 316
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#B12EDB
secondary
#9FD88D
accent
#ED3A66
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B12EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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