#813BC4#813BC4

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

Color values

HEX#813BC4
RGBrgb(129, 59, 196)
HSLhsl(271, 54%, 50%)
HSVhsv(271, 70%, 77%)
CMYKcmyk(34.2%, 69.9%, 0%, 23.1%)
CIE-LABlab(40.87, 55.13, -59.68)
CIE-LCHlch(40.87, 81.25, 312.73°)
OKLaboklab(51.46% 0.1114 -0.1698)
OKLCHoklch(51.46% 0.203 303.3)
XYZxyz(20.5787, 11.7806, 53.4036)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BC4 #7EC43B
analogous
#3D3BC4 #813BC4 #C43BC2
triadic
#813BC4 #C4813B #3BC481
tetradic
#813BC4 #C43D3B #7EC43B #3BC2C4
square
#813BC4 #C43D3B #7EC43B #3BC2C4
split-complementary
#813BC4 #C2C43B #3BC43D
monochromatic
#431F66 #622D95 #813BC4 #9F6AD2 #BD99E0

Accessibility & contrast

On white

6.26
#813BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#813BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BC4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BC4#FFFFFF#000000##FFFFFF
##813BC41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#745B7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813bc4;
/* rgb */ color: rgb(129, 59, 196);
/* oklch */ color: oklch(51.5% 0.203 303.3);
Tailwind
colors: {
  custom: {
    50: '#ab76d7',
    500: '#813bc4',
    950: '#000000',
  },
}
SCSS
$custom: #813bc4;
$custom-light: #ab76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813bc4",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 270.657,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.20308,
    "h": 303.3
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#813BC4
secondary
#ADCC8F
accent
#DD4B92
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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