#813AC0#813AC0

#813AC0 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.0% C 0.200 H 304.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#813AC0
RGBrgb(129, 58, 192)
HSLhsl(272, 54%, 49%)
HSVhsv(272, 70%, 75%)
CMYKcmyk(32.8%, 69.8%, 0%, 24.7%)
CIE-LABlab(40.41, 54.64, -58.09)
CIE-LCHlch(40.41, 79.75, 313.25°)
OKLaboklab(51.05% 0.113 -0.1651)
OKLCHoklch(51.05% 0.2 304.4)
XYZxyz(20.0786, 11.4991, 51.0207)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813AC0 #79C03A
analogous
#3E3AC0 #813AC0 #C03ABC
triadic
#813AC0 #C0813A #3AC081
tetradic
#813AC0 #C03E3A #79C03A #3ABCC0
square
#813AC0 #C03E3A #79C03A #3ABCC0
split-complementary
#813AC0 #BCC03A #3AC03E
monochromatic
#421E62 #612C91 #813AC0 #9F66D1 #BC95DF

Accessibility & contrast

On white

6.36
#813AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#813AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813AC0
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813AC0#FFFFFF#000000##FFFFFF
##813AC01.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#755979
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #813ac0;
/* rgb */ color: rgb(129, 58, 192);
/* oklch */ color: oklch(51.0% 0.200 304.4);
Tailwind
colors: {
  custom: {
    50: '#ab76d4',
    500: '#813ac0',
    950: '#000000',
  },
}
SCSS
$custom: #813ac0;
$custom-light: #ab76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#813ac0",
  "rgb": {
    "r": 129,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 271.791,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.2001,
    "h": 304.4
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#813AC0
secondary
#A9CA8B
accent
#DD4B90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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