#B13EC6#B13EC6

#B13EC6 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.217 H 321.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B13EC6
RGBrgb(177, 62, 198)
HSLhsl(291, 54%, 51%)
HSVhsv(291, 69%, 78%)
CMYKcmyk(10.6%, 68.7%, 0%, 22.4%)
CIE-LABlab(48.10, 64.33, -48.85)
CIE-LCHlch(48.10, 80.77, 322.78°)
OKLaboklab(58.06% 0.169 -0.1365)
OKLCHoklch(58.06% 0.217 321.1)
XYZxyz(30.0460, 16.8711, 55.0890)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13EC6 #53C63E
analogous
#6D3EC6 #B13EC6 #C63E97
triadic
#B13EC6 #C6B13E #3EC6B1
tetradic
#B13EC6 #C66D3E #53C63E #3E97C6
square
#B13EC6 #C66D3E #53C63E #3E97C6
split-complementary
#B13EC6 #97C63E #3EC66D
monochromatic
#5F1F6A #892D99 #B13EC6 #C46DD4 #D79CE2

Accessibility & contrast

On white

4.80
#B13EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B13EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13EC6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13EC6#FFFFFF#000000##FFFFFF
##B13EC61.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ACA
Deuteranopia (green-blind)
#4D76C3
Tritanopia (blue-blind)
#B2567E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b13ec6;
/* rgb */ color: rgb(177, 62, 198);
/* oklch */ color: oklch(58.1% 0.217 321.1);
Tailwind
colors: {
  custom: {
    50: '#cc7dd8',
    500: '#b13ec6',
    950: '#000000',
  },
}
SCSS
$custom: #b13ec6;
$custom-light: #cc7dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ec6",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 290.735,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.21727,
    "h": 321.1
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#B13EC6
secondary
#9BCE92
accent
#DE4A61
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B13EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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