#B13ED2#B13ED2

#B13ED2 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.228 H 317.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B13ED2
RGBrgb(177, 62, 210)
HSLhsl(287, 62%, 53%)
HSVhsv(287, 70%, 82%)
CMYKcmyk(15.7%, 70.5%, 0%, 17.6%)
CIE-LABlab(48.82, 66.57, -54.61)
CIE-LCHlch(48.82, 86.10, 320.64°)
OKLaboklab(58.8% 0.1683 -0.1534)
OKLCHoklch(58.8% 0.228 317.7)
XYZxyz(31.4853, 17.4469, 62.6694)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13ED2 #5FD23E
analogous
#673ED2 #B13ED2 #D23EA9
triadic
#B13ED2 #D2B13E #3ED2B1
tetradic
#B13ED2 #D2673E #5FD23E #3EA9D2
square
#B13ED2 #D2673E #5FD23E #3EA9D2
split-complementary
#B13ED2 #A9D23E #3ED267
monochromatic
#651C79 #8E28AB #B13ED2 #C570DE #D9A1E9

Accessibility & contrast

On white

4.68
#B13ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B13ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13ED2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13ED2#FFFFFF#000000##FFFFFF
##B13ED21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#B05B84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b13ed2;
/* rgb */ color: rgb(177, 62, 210);
/* oklch */ color: oklch(58.8% 0.228 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc7de0',
    500: '#b13ed2',
    950: '#000000',
  },
}
SCSS
$custom: #b13ed2;
$custom-light: #cc7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ed2",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 286.622,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.22771,
    "h": 317.7
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#B13ED2
secondary
#A4D696
accent
#E54367
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B13ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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