#813AC3#813AC3

#813AC3 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.203 H 303.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#813AC3
RGBrgb(129, 58, 195)
HSLhsl(271, 54%, 50%)
HSVhsv(271, 70%, 76%)
CMYKcmyk(33.8%, 70.3%, 0%, 23.5%)
CIE-LABlab(40.63, 55.35, -59.48)
CIE-LCHlch(40.63, 81.25, 312.94°)
OKLaboklab(51.27% 0.1126 -0.1692)
OKLCHoklch(51.27% 0.203 303.6)
XYZxyz(20.4144, 11.6334, 52.7892)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AC3 #7CC33A
analogous
#3D3AC3 #813AC3 #C33AC1
triadic
#813AC3 #C3813A #3AC381
tetradic
#813AC3 #C33D3A #7CC33A #3AC1C3
square
#813AC3 #C33D3A #7CC33A #3AC1C3
split-complementary
#813AC3 #C1C33A #3AC33D
monochromatic
#431E65 #622C94 #813AC3 #9F68D2 #BD97E0

Accessibility & contrast

On white

6.31
#813AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#813AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AC3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AC3#FFFFFF#000000##FFFFFF
##813AC31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#745A7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813ac3;
/* rgb */ color: rgb(129, 58, 195);
/* oklch */ color: oklch(51.3% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#ab76d6',
    500: '#813ac3',
    950: '#000000',
  },
}
SCSS
$custom: #813ac3;
$custom-light: #ab76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#813ac3",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 271.095,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.20325,
    "h": 303.6
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#813AC3
secondary
#ABCC8D
accent
#DE4A91
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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