#813EA4#813EA4

#813EA4 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.165 H 312.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#813EA4
RGBrgb(129, 62, 164)
HSLhsl(279, 45%, 44%)
HSVhsv(279, 62%, 64%)
CMYKcmyk(21.3%, 62.2%, 0%, 35.7%)
CIE-LABlab(39.23, 46.26, -43.43)
CIE-LCHlch(39.23, 63.45, 316.81°)
OKLaboklab(49.6% 0.1107 -0.1221)
OKLCHoklch(49.6% 0.165 312.2)
XYZxyz(17.4755, 10.7932, 36.2775)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EA4 #61A43E
analogous
#4E3EA4 #813EA4 #A43E94
triadic
#813EA4 #A4813E #3EA481
tetradic
#813EA4 #A44E3E #61A43E #3E94A4
square
#813EA4 #A44E3E #61A43E #3E94A4
split-complementary
#813EA4 #94A43E #3EA44E
monochromatic
#3B1C4B #5E2D78 #813EA4 #9F5DC2 #BA8AD3

Accessibility & contrast

On white

6.65
#813EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#813EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EA4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EA4#FFFFFF#000000##FFFFFF
##813EA41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A7
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#7D516B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #813ea4;
/* rgb */ color: rgb(129, 62, 164);
/* oklch */ color: oklch(49.6% 0.165 312.2);
Tailwind
colors: {
  custom: {
    50: '#a977bf',
    500: '#813ea4',
    950: '#000000',
  },
}
SCSS
$custom: #813ea4;
$custom-light: #a977bf;
$custom-dark: #000000;
JSON
{
  "hex": "#813ea4",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 279.412,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.496,
    "c": 0.16482,
    "h": 312.2
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

primary
#813EA4
secondary
#95BD81
accent
#D55380
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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