#B13DB2#B13DB2

#B13DB2 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.202 H 327.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B13DB2
RGBrgb(177, 61, 178)
HSLhsl(299, 49%, 47%)
HSVhsv(299, 66%, 70%)
CMYKcmyk(0.6%, 65.7%, 0%, 30.2%)
CIE-LABlab(46.84, 61.16, -39.19)
CIE-LCHlch(46.84, 72.64, 327.35°)
OKLaboklab(56.8% 0.17 -0.1084)
OKLCHoklch(56.8% 0.202 327.5)
XYZxyz(27.8357, 15.9008, 43.7139)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13DB2 #3EB23D
analogous
#773DB2 #B13DB2 #B23D79
triadic
#B13DB2 #B2B13D #3DB2B1
tetradic
#B13DB2 #B2773D #3EB23D #3D79B2
square
#B13DB2 #B2773D #3EB23D #3D79B2
split-complementary
#B13DB2 #79B23D #3DB277
monochromatic
#561E57 #842D84 #B13DB2 #C963C9 #D890D9

Accessibility & contrast

On white

5.02
#B13DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B13DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13DB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13DB2#FFFFFF#000000##FFFFFF
##B13DB21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#B64D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b13db2;
/* rgb */ color: rgb(177, 61, 178);
/* oklch */ color: oklch(56.8% 0.202 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc7cc9',
    500: '#b13db2',
    950: '#000000',
  },
}
SCSS
$custom: #b13db2;
$custom-light: #cc7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b13db2",
  "rgb": {
    "r": 177,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 299.487,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56796,
    "c": 0.20165,
    "h": 327.5
  },
  "luminance": 0.15899
}

Semantic roles & 50–950 ramp

primary
#B13DB2
secondary
#87C487
accent
#D94F50
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #B13DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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