#813EA3#813EA3

#813EA3 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.164 H 312.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#813EA3
RGBrgb(129, 62, 163)
HSLhsl(280, 45%, 44%)
HSVhsv(280, 62%, 64%)
CMYKcmyk(20.9%, 62%, 0%, 36.1%)
CIE-LABlab(39.17, 46.03, -42.93)
CIE-LCHlch(39.17, 62.94, 317.00°)
OKLaboklab(49.54% 0.1107 -0.1206)
OKLCHoklch(49.54% 0.164 312.5)
XYZxyz(17.3856, 10.7572, 35.8037)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EA3 #60A33E
analogous
#4F3EA3 #813EA3 #A33E93
triadic
#813EA3 #A3813E #3EA381
tetradic
#813EA3 #A34F3E #60A33E #3E93A3
square
#813EA3 #A34F3E #60A33E #3E93A3
split-complementary
#813EA3 #93A33E #3EA34F
monochromatic
#3B1C4A #5E2D77 #813EA3 #A05DC1 #BA89D2

Accessibility & contrast

On white

6.66
#813EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#813EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EA3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EA3#FFFFFF#000000##FFFFFF
##813EA31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1859A6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#7D516B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #813ea3;
/* rgb */ color: rgb(129, 62, 163);
/* oklch */ color: oklch(49.5% 0.164 312.5);
Tailwind
colors: {
  custom: {
    50: '#a877bf',
    500: '#813ea3',
    950: '#000000',
  },
}
SCSS
$custom: #813ea3;
$custom-light: #a877bf;
$custom-dark: #000000;
JSON
{
  "hex": "#813ea3",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 279.802,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49536,
    "c": 0.16375,
    "h": 312.5
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#813EA3
secondary
#94BD80
accent
#D5537F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #813EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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