#813EA8#813EA8

#813EA8 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 310.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#813EA8
RGBrgb(129, 62, 168)
HSLhsl(278, 46%, 45%)
HSVhsv(278, 63%, 66%)
CMYKcmyk(23.2%, 63.1%, 0%, 34.1%)
CIE-LABlab(39.48, 47.16, -45.42)
CIE-LCHlch(39.48, 65.47, 316.08°)
OKLaboklab(49.86% 0.1106 -0.1279)
OKLCHoklch(49.86% 0.169 310.9)
XYZxyz(17.8424, 10.9399, 38.2099)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EA8 #65A83E
analogous
#4C3EA8 #813EA8 #A83E9A
triadic
#813EA8 #A8813E #3EA881
tetradic
#813EA8 #A84C3E #65A83E #3E9AA8
square
#813EA8 #A84C3E #65A83E #3E9AA8
split-complementary
#813EA8 #9AA83E #3EA84C
monochromatic
#3C1D4F #5F2E7B #813EA8 #9F5FC4 #BA8CD5

Accessibility & contrast

On white

6.59
#813EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#813EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EA8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EA8#FFFFFF#000000##FFFFFF
##813EA81.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5AAB
Deuteranopia (green-blind)
#335EA6
Tritanopia (blue-blind)
#7C526D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #813ea8;
/* rgb */ color: rgb(129, 62, 168);
/* oklch */ color: oklch(49.9% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#a977c2',
    500: '#813ea8',
    950: '#000000',
  },
}
SCSS
$custom: #813ea8;
$custom-light: #a977c2;
$custom-dark: #000000;
JSON
{
  "hex": "#813ea8",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 277.925,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49861,
    "c": 0.16914,
    "h": 310.9
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#813EA8
secondary
#99BF83
accent
#D65283
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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