#813AC5#813AC5

#813AC5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.205 H 303.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#813AC5
RGBrgb(129, 58, 197)
HSLhsl(271, 55%, 50%)
HSVhsv(271, 71%, 77%)
CMYKcmyk(34.5%, 70.6%, 0%, 22.7%)
CIE-LABlab(40.77, 55.82, -60.41)
CIE-LCHlch(40.77, 82.25, 312.74°)
OKLaboklab(51.42% 0.1123 -0.1719)
OKLCHoklch(51.42% 0.205 303.1)
XYZxyz(20.6420, 11.7245, 53.9881)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AC5 #7EC53A
analogous
#3B3AC5 #813AC5 #C53AC4
triadic
#813AC5 #C5813A #3AC581
tetradic
#813AC5 #C53B3A #7EC53A #3AC4C5
square
#813AC5 #C53B3A #7EC53A #3AC4C5
split-complementary
#813AC5 #C4C53A #3AC53B
monochromatic
#431E66 #622C96 #813AC5 #9F69D3 #BD99E1

Accessibility & contrast

On white

6.28
#813AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813AC5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AC5#FFFFFF#000000##FFFFFF
##813AC51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#735B7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813ac5;
/* rgb */ color: rgb(129, 58, 197);
/* oklch */ color: oklch(51.4% 0.205 303.1);
Tailwind
colors: {
  custom: {
    50: '#ab76d7',
    500: '#813ac5',
    950: '#000000',
  },
}
SCSS
$custom: #813ac5;
$custom-light: #ab76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813ac5",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 270.647,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.20535,
    "h": 303.1
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #813AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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