#813EA6#813EA6

#813EA6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.167 H 311.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#813EA6
RGBrgb(129, 62, 166)
HSLhsl(279, 46%, 45%)
HSVhsv(279, 63%, 65%)
CMYKcmyk(22.3%, 62.7%, 0%, 34.9%)
CIE-LABlab(39.35, 46.71, -44.42)
CIE-LCHlch(39.35, 64.46, 316.43°)
OKLaboklab(49.73% 0.1107 -0.125)
OKLCHoklch(49.73% 0.167 311.5)
XYZxyz(17.6576, 10.8660, 37.2362)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EA6 #63A63E
analogous
#4D3EA6 #813EA6 #A63E97
triadic
#813EA6 #A6813E #3EA681
tetradic
#813EA6 #A64D3E #63A63E #3E97A6
square
#813EA6 #A64D3E #63A63E #3E97A6
split-complementary
#813EA6 #97A63E #3EA64D
monochromatic
#3C1D4D #5E2D79 #813EA6 #9F5EC3 #BA8BD4

Accessibility & contrast

On white

6.62
#813EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#813EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EA6
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EA6#FFFFFF#000000##FFFFFF
##813EA61.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A9
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#7D526C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #813ea6;
/* rgb */ color: rgb(129, 62, 166);
/* oklch */ color: oklch(49.7% 0.167 311.5);
Tailwind
colors: {
  custom: {
    50: '#a977c1',
    500: '#813ea6',
    950: '#000000',
  },
}
SCSS
$custom: #813ea6;
$custom-light: #a977c1;
$custom-dark: #000000;
JSON
{
  "hex": "#813ea6",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 278.654,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.16697,
    "h": 311.5
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#813EA6
secondary
#97BE82
accent
#D55381
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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