#813BC5#813BC5

#813BC5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.204 H 303.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#813BC5
RGBrgb(129, 59, 197)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 70%, 77%)
CMYKcmyk(34.5%, 70.1%, 0%, 22.7%)
CIE-LABlab(40.94, 55.37, -60.14)
CIE-LCHlch(40.94, 81.75, 312.63°)
OKLaboklab(51.54% 0.1112 -0.1712)
OKLCHoklch(51.54% 0.204 303)
XYZxyz(20.6929, 11.8263, 54.0050)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BC5 #7FC53B
analogous
#3C3BC5 #813BC5 #C53BC4
triadic
#813BC5 #C5813B #3BC581
tetradic
#813BC5 #C53C3B #7FC53B #3BC4C5
square
#813BC5 #C53C3B #7FC53B #3BC4C5
split-complementary
#813BC5 #C4C53B #3BC53C
monochromatic
#431F67 #622C96 #813BC5 #9F6AD3 #BE99E1

Accessibility & contrast

On white

6.24
#813BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813BC5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BC5#FFFFFF#000000##FFFFFF
##813BC51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813bc5;
/* rgb */ color: rgb(129, 59, 197);
/* oklch */ color: oklch(51.5% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#ab77d7',
    500: '#813bc5',
    950: '#000000',
  },
}
SCSS
$custom: #813bc5;
$custom-light: #ab77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813bc5",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 270.435,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51539,
    "c": 0.20414,
    "h": 303
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#813BC5
secondary
#ADCD8F
accent
#DE4A93
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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