#B13EC2#B13EC2

#B13EC2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.214 H 322.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B13EC2
RGBrgb(177, 62, 194)
HSLhsl(292, 52%, 50%)
HSVhsv(292, 68%, 76%)
CMYKcmyk(8.8%, 68%, 0%, 23.9%)
CIE-LABlab(47.87, 63.59, -46.91)
CIE-LCHlch(47.87, 79.02, 323.59°)
OKLaboklab(57.82% 0.1691 -0.1308)
OKLCHoklch(57.82% 0.214 322.3)
XYZxyz(29.5907, 16.6890, 52.6912)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13EC2 #4FC23E
analogous
#6F3EC2 #B13EC2 #C23E91
triadic
#B13EC2 #C2B13E #3EC2B1
tetradic
#B13EC2 #C26F3E #4FC23E #3E91C2
square
#B13EC2 #C26F3E #4FC23E #3E91C2
split-complementary
#B13EC2 #91C23E #3EC26F
monochromatic
#5D2066 #872F94 #B13EC2 #C46DD1 #D79BDF

Accessibility & contrast

On white

4.84
#B13EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B13EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13EC2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13EC2#FFFFFF#000000##FFFFFF
##B13EC21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#B3557B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b13ec2;
/* rgb */ color: rgb(177, 62, 194);
/* oklch */ color: oklch(57.8% 0.214 322.3);
Tailwind
colors: {
  custom: {
    50: '#cc7dd5',
    500: '#b13ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b13ec2;
$custom-light: #cc7dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ec2",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 292.273,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.21382,
    "h": 322.3
  },
  "luminance": 0.16687
}

Semantic roles & 50–950 ramp

primary
#B13EC2
secondary
#98CB90
accent
#DB4C5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #B13EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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