#A13BB2#A13BB2

#A13BB2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.196 H 321.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A13BB2
RGBrgb(161, 59, 178)
HSLhsl(291, 50%, 46%)
HSVhsv(291, 67%, 70%)
CMYKcmyk(9.6%, 66.9%, 0%, 30.2%)
CIE-LABlab(44.12, 58.19, -43.67)
CIE-LCHlch(44.12, 72.76, 323.12°)
OKLaboklab(54.34% 0.154 -0.1218)
OKLCHoklch(54.34% 0.196 321.6)
XYZxyz(24.2969, 13.9206, 43.5180)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13BB2 #4CB23B
analogous
#663BB2 #A13BB2 #B23B88
triadic
#A13BB2 #B2A13B #3BB2A1
tetradic
#A13BB2 #B2663B #4CB23B #3B88B2
square
#A13BB2 #B2663B #4CB23B #3B88B2
split-complementary
#A13BB2 #88B23B #3BB266
monochromatic
#4E1D56 #772C84 #A13BB2 #BB60CA #CF8EDA

Accessibility & contrast

On white

5.55
#A13BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A13BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13BB2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13BB2#FFFFFF#000000##FFFFFF
##A13BB21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#A34F72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a13bb2;
/* rgb */ color: rgb(161, 59, 178);
/* oklch */ color: oklch(54.3% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#c079c9',
    500: '#a13bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a13bb2;
$custom-light: #c079c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a13bb2",
  "rgb": {
    "r": 161,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 291.429,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.19633,
    "h": 321.6
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#A13BB2
secondary
#8EC485
accent
#DA4E62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A13BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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