#B13BB2#B13BB2

#B13BB2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.204 H 327.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B13BB2
RGBrgb(177, 59, 178)
HSLhsl(299, 50%, 46%)
HSVhsv(299, 67%, 70%)
CMYKcmyk(0.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(46.57, 61.94, -39.63)
CIE-LCHlch(46.57, 73.53, 327.39°)
OKLaboklab(56.6% 0.1722 -0.1097)
OKLCHoklch(56.6% 0.204 327.5)
XYZxyz(27.7309, 15.6913, 43.6790)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13BB2 #3CB23B
analogous
#763BB2 #B13BB2 #B23B78
triadic
#B13BB2 #B2B13B #3BB2B1
tetradic
#B13BB2 #B2763B #3CB23B #3B78B2
square
#B13BB2 #B2763B #3CB23B #3B78B2
split-complementary
#B13BB2 #78B23B #3BB276
monochromatic
#561D56 #832C84 #B13BB2 #C960CA #D98EDA

Accessibility & contrast

On white

5.08
#B13BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B13BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13BB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13BB2#FFFFFF#000000##FFFFFF
##B13BB21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#B64C72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b13bb2;
/* rgb */ color: rgb(177, 59, 178);
/* oklch */ color: oklch(56.6% 0.204 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc7bc9',
    500: '#b13bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b13bb2;
$custom-light: #cc7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b13bb2",
  "rgb": {
    "r": 177,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 299.496,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.20418,
    "h": 327.5
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#B13BB2
secondary
#85C485
accent
#DA4E4F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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