#813BC1#813BC1

#813BC1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.200 H 304.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#813BC1
RGBrgb(129, 59, 193)
HSLhsl(271, 53%, 49%)
HSVhsv(271, 69%, 76%)
CMYKcmyk(33.2%, 69.4%, 0%, 24.3%)
CIE-LABlab(40.65, 54.42, -58.29)
CIE-LCHlch(40.65, 79.74, 313.03°)
OKLaboklab(51.24% 0.1118 -0.1657)
OKLCHoklch(51.24% 0.2 304)
XYZxyz(20.2407, 11.6454, 51.6232)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BC1 #7BC13B
analogous
#3E3BC1 #813BC1 #C13BBE
triadic
#813BC1 #C1813B #3BC181
tetradic
#813BC1 #C13E3B #7BC13B #3BBEC1
square
#813BC1 #C13E3B #7BC13B #3BBEC1
split-complementary
#813BC1 #BEC13B #3BC13E
monochromatic
#421E63 #622D92 #813BC1 #9F68D1 #BD97DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##813BC1#FFFFFF#000000##FFFFFF
##813BC11.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)
#005EC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#755A7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813bc1;
/* rgb */ color: rgb(129, 59, 193);
/* oklch */ color: oklch(51.2% 0.200 304.0);
Tailwind
colors: {
  custom: {
    50: '#ab76d5',
    500: '#813bc1',
    950: '#000000',
  },
}
SCSS
$custom: #813bc1;
$custom-light: #ab76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#813bc1",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 271.343,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51239,
    "c": 0.19992,
    "h": 304
  },
  "luminance": 0.11645
}

Semantic roles & 50–950 ramp

primary
#813BC1
secondary
#ABCB8D
accent
#DD4B91
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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