#813EC0#813EC0

#813EC0 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.195 H 303.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#813EC0
RGBrgb(129, 62, 192)
HSLhsl(271, 51%, 50%)
HSVhsv(271, 68%, 75%)
CMYKcmyk(32.8%, 67.7%, 0%, 24.7%)
CIE-LABlab(41.09, 52.76, -56.99)
CIE-LCHlch(41.09, 77.66, 312.79°)
OKLaboklab(51.53% 0.1088 -0.1619)
OKLCHoklch(51.53% 0.195 303.9)
XYZxyz(20.2881, 11.9182, 51.0906)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EC0 #7DC03E
analogous
#403EC0 #813EC0 #C03EBE
triadic
#813EC0 #C0813E #3EC081
tetradic
#813EC0 #C0403E #7DC03E #3EBEC0
square
#813EC0 #C0403E #7DC03E #3EBEC0
split-complementary
#813EC0 #BEC03E #3EC040
monochromatic
#432063 #622F92 #813EC0 #9F6CCF #BD9ADE

Accessibility & contrast

On white

6.21
#813EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#813EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EC0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EC0#FFFFFF#000000##FFFFFF
##813EC01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0661BD
Tritanopia (blue-blind)
#755B7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813ec0;
/* rgb */ color: rgb(129, 62, 192);
/* oklch */ color: oklch(51.5% 0.195 303.9);
Tailwind
colors: {
  custom: {
    50: '#aa78d4',
    500: '#813ec0',
    950: '#000000',
  },
}
SCSS
$custom: #813ec0;
$custom-light: #aa78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#813ec0",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 270.923,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.19506,
    "h": 303.9
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#813EC0
secondary
#ACCA8F
accent
#DB4D92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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