#813BC6#813BC6

#813BC6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.205 H 302.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#813BC6
RGBrgb(129, 59, 198)
HSLhsl(270, 55%, 50%)
HSVhsv(270, 70%, 78%)
CMYKcmyk(34.8%, 70.2%, 0%, 22.4%)
CIE-LABlab(41.01, 55.60, -60.61)
CIE-LCHlch(41.01, 82.25, 312.53°)
OKLaboklab(51.61% 0.1111 -0.1725)
OKLCHoklch(51.61% 0.205 302.8)
XYZxyz(20.8079, 11.8723, 54.6105)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BC6 #80C63B
analogous
#3B3BC6 #813BC6 #C63BC5
triadic
#813BC6 #C6813B #3BC681
tetradic
#813BC6 #C63B3B #80C63B #3BC5C6
square
#813BC6 #C63B3B #80C63B #3BC5C6
split-complementary
#813BC6 #C5C63B #3BC63B
monochromatic
#441E68 #622C98 #813BC6 #9F6AD4 #BE9AE2

Accessibility & contrast

On white

6.22
#813BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#813BC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BC6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BC6#FFFFFF#000000##FFFFFF
##813BC61.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#735C7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813bc6;
/* rgb */ color: rgb(129, 59, 198);
/* oklch */ color: oklch(51.6% 0.205 302.8);
Tailwind
colors: {
  custom: {
    50: '#ab77d8',
    500: '#813bc6',
    950: '#000000',
  },
}
SCSS
$custom: #813bc6;
$custom-light: #ab77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#813bc6",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 270.216,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51614,
    "c": 0.2052,
    "h": 302.8
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#813BC6
secondary
#AECD8F
accent
#DE4A93
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #813BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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