#813CC4#813CC4

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

Color values

HEX#813CC4
RGBrgb(129, 60, 196)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 69%, 77%)
CMYKcmyk(34.2%, 69.4%, 0%, 23.1%)
CIE-LABlab(41.03, 54.66, -59.41)
CIE-LCHlch(41.03, 80.73, 312.62°)
OKLaboklab(51.58% 0.1104 -0.169)
OKLCHoklch(51.58% 0.202 303.1)
XYZxyz(20.6306, 11.8844, 53.4209)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CC4 #7FC43C
analogous
#3D3CC4 #813CC4 #C43CC3
triadic
#813CC4 #C4813C #3CC481
tetradic
#813CC4 #C43D3C #7FC43C #3CC3C4
square
#813CC4 #C43D3C #7FC43C #3CC3C4
split-complementary
#813CC4 #C3C43C #3CC43D
monochromatic
#431F67 #622D96 #813CC4 #9F6BD2 #BE9AE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##813CC4#FFFFFF#000000##FFFFFF
##813CC41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #813cc4;
/* rgb */ color: rgb(129, 60, 196);
/* oklch */ color: oklch(51.6% 0.202 303.1);
Tailwind
colors: {
  custom: {
    50: '#ab77d7',
    500: '#813cc4',
    950: '#000000',
  },
}
SCSS
$custom: #813cc4;
$custom-light: #ab77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813cc4",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 270.441,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51582,
    "c": 0.20186,
    "h": 303.1
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#813CC4
secondary
#ADCC90
accent
#DD4B93
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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