#813AC4#813AC4

#813AC4 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.204 H 303.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#813AC4
RGBrgb(129, 58, 196)
HSLhsl(271, 54%, 50%)
HSVhsv(271, 70%, 77%)
CMYKcmyk(34.2%, 70.4%, 0%, 23.1%)
CIE-LABlab(40.70, 55.59, -59.95)
CIE-LCHlch(40.70, 81.75, 312.84°)
OKLaboklab(51.35% 0.1124 -0.1706)
OKLCHoklch(51.35% 0.204 303.4)
XYZxyz(20.5278, 11.6788, 53.3866)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AC4 #7DC43A
analogous
#3C3AC4 #813AC4 #C43AC2
triadic
#813AC4 #C4813A #3AC481
tetradic
#813AC4 #C43C3A #7DC43A #3AC2C4
square
#813AC4 #C43C3A #7DC43A #3AC2C4
split-complementary
#813AC4 #C2C43A #3AC43C
monochromatic
#431E66 #622C95 #813AC4 #9F69D3 #BD98E0

Accessibility & contrast

On white

6.30
#813AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#813AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AC4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AC4#FFFFFF#000000##FFFFFF
##813AC41.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#745B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813ac4;
/* rgb */ color: rgb(129, 58, 196);
/* oklch */ color: oklch(51.3% 0.204 303.4);
Tailwind
colors: {
  custom: {
    50: '#ab76d7',
    500: '#813ac4',
    950: '#000000',
  },
}
SCSS
$custom: #813ac4;
$custom-light: #ab76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813ac4",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 270.87,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.2043,
    "h": 303.4
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#813AC4
secondary
#ACCC8E
accent
#DE4A92
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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