#B13BD2#B13BD2

#B13BD2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.231 H 317.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B13BD2
RGBrgb(177, 59, 210)
HSLhsl(287, 63%, 53%)
HSVhsv(287, 72%, 82%)
CMYKcmyk(15.7%, 71.9%, 0%, 17.6%)
CIE-LABlab(48.42, 67.69, -55.24)
CIE-LCHlch(48.42, 87.37, 320.78°)
OKLaboklab(58.52% 0.1712 -0.1552)
OKLCHoklch(58.52% 0.231 317.8)
XYZxyz(31.3266, 17.1296, 62.6165)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13BD2 #5CD23B
analogous
#653BD2 #B13BD2 #D23BA8
triadic
#B13BD2 #D2B13B #3BD2B1
tetradic
#B13BD2 #D2653B #5CD23B #3BA8D2
square
#B13BD2 #D2653B #5CD23B #3BA8D2
split-complementary
#B13BD2 #A8D23B #3BD265
monochromatic
#631B77 #8D27A9 #B13BD2 #C56DDD #D99FE9

Accessibility & contrast

On white

4.75
#B13BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B13BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13BD2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13BD2#FFFFFF#000000##FFFFFF
##B13BD21.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#B05A83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b13bd2;
/* rgb */ color: rgb(177, 59, 210);
/* oklch */ color: oklch(58.5% 0.231 317.8);
Tailwind
colors: {
  custom: {
    50: '#cc7ce0',
    500: '#b13bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b13bd2;
$custom-light: #cc7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b13bd2",
  "rgb": {
    "r": 177,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 286.887,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.23111,
    "h": 317.8
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#B13BD2
secondary
#A2D594
accent
#E64266
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B13BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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