#813AAA#813AAA

#813AAA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.177 H 310.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#813AAA
RGBrgb(129, 58, 170)
HSLhsl(278, 49%, 45%)
HSVhsv(278, 66%, 67%)
CMYKcmyk(24.1%, 65.9%, 0%, 33.3%)
CIE-LABlab(38.89, 49.57, -47.55)
CIE-LCHlch(38.89, 68.69, 316.19°)
OKLaboklab(49.48% 0.1154 -0.1342)
OKLCHoklch(49.48% 0.177 310.7)
XYZxyz(17.8206, 10.5959, 39.1289)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AAA #63AA3A
analogous
#493AAA #813AAA #AA3A9B
triadic
#813AAA #AA813A #3AAA81
tetradic
#813AAA #AA493A #63AA3A #3A9BAA
square
#813AAA #AA493A #63AA3A #3A9BAA
split-complementary
#813AAA #9BAA3A #3AAA49
monochromatic
#3C1B4F #5E2A7C #813AAA #9F5AC7 #BA88D6

Accessibility & contrast

On white

6.73
#813AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#813AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AAA
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AAA#FFFFFF#000000##FFFFFF
##813AAA1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#2C5DA7
Tritanopia (blue-blind)
#7C516D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #813aaa;
/* rgb */ color: rgb(129, 58, 170);
/* oklch */ color: oklch(49.5% 0.177 310.7);
Tailwind
colors: {
  custom: {
    50: '#a975c4',
    500: '#813aaa',
    950: '#000000',
  },
}
SCSS
$custom: #813aaa;
$custom-light: #a975c4;
$custom-dark: #000000;
JSON
{
  "hex": "#813aaa",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 278.036,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.17696,
    "h": 310.7
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#813AAA
secondary
#97C17F
accent
#D94F81
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #813AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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