#B13AAA#B13AAA

#B13AAA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.1% C 0.199 H 330.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B13AAA
RGBrgb(177, 58, 170)
HSLhsl(304, 51%, 46%)
HSVhsv(304, 67%, 69%)
CMYKcmyk(0%, 67.2%, 4%, 30.6%)
CIE-LABlab(46.01, 60.99, -35.79)
CIE-LCHlch(46.01, 70.71, 329.59°)
OKLaboklab(56.06% 0.1729 -0.0985)
OKLCHoklch(56.06% 0.199 330.3)
XYZxyz(26.9001, 15.2775, 39.5545)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13AAA #3AB141
analogous
#7C3AB1 #B13AAA #B13A6E
triadic
#B13AAA #AAB13A #3AAAB1
tetradic
#B13AAA #B17C3A #3AB141 #3A6EB1
square
#B13AAA #B17C3A #3AB141 #3A6EB1
split-complementary
#B13AAA #6EB13A #3AB17C
monochromatic
#551C51 #832B7E #B13AAA #CA5EC4 #D98CD5

Accessibility & contrast

On white

5.18
#B13AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B13AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13AAA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13AAA#FFFFFF#000000##FFFFFF
##B13AAA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#B8486D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b13aaa;
/* rgb */ color: rgb(177, 58, 170);
/* oklch */ color: oklch(56.1% 0.199 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc7ac4',
    500: '#b13aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b13aaa;
$custom-light: #cc7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#b13aaa",
  "rgb": {
    "r": 177,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 303.529,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5606,
    "c": 0.19903,
    "h": 330.3
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#B13AAA
secondary
#83C487
accent
#DA564E
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #B13AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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