#813AA4#813AA4

#813AA4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.171 H 312.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#813AA4
RGBrgb(129, 58, 164)
HSLhsl(280, 48%, 44%)
HSVhsv(280, 65%, 64%)
CMYKcmyk(21.3%, 64.6%, 0%, 35.7%)
CIE-LABlab(38.51, 48.24, -44.59)
CIE-LCHlch(38.51, 65.69, 317.25°)
OKLaboklab(49.08% 0.1157 -0.1255)
OKLCHoklch(49.08% 0.171 312.7)
XYZxyz(17.2660, 10.3740, 36.2076)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AA4 #5DA43A
analogous
#4C3AA4 #813AA4 #A43A92
triadic
#813AA4 #A4813A #3AA481
tetradic
#813AA4 #A44C3A #5DA43A #3A92A4
square
#813AA4 #A44C3A #5DA43A #3A92A4
split-complementary
#813AA4 #92A43A #3AA44C
monochromatic
#3A1A4A #5D2A77 #813AA4 #A057C4 #BA85D4

Accessibility & contrast

On white

6.83
#813AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#813AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AA4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AA4#FFFFFF#000000##FFFFFF
##813AA41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#7D4E6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #813aa4;
/* rgb */ color: rgb(129, 58, 164);
/* oklch */ color: oklch(49.1% 0.171 312.7);
Tailwind
colors: {
  custom: {
    50: '#a975bf',
    500: '#813aa4',
    950: '#000000',
  },
}
SCSS
$custom: #813aa4;
$custom-light: #a975bf;
$custom-dark: #000000;
JSON
{
  "hex": "#813aa4",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 280.189,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49076,
    "c": 0.17067,
    "h": 312.7
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#813AA4
secondary
#92BE7C
accent
#D7507D
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#813AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva