#813EC6#813EC6

#813EC6 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.202 H 302.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#813EC6
RGBrgb(129, 62, 198)
HSLhsl(270, 54%, 51%)
HSVhsv(270, 69%, 78%)
CMYKcmyk(34.8%, 68.7%, 0%, 22.4%)
CIE-LABlab(41.52, 54.20, -59.79)
CIE-LCHlch(41.52, 80.70, 312.19°)
OKLaboklab(51.97% 0.108 -0.1701)
OKLCHoklch(51.97% 0.202 302.4)
XYZxyz(20.9665, 12.1896, 54.6634)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813EC6 #83C63E
analogous
#3E3FC6 #813EC6 #C53EC6
triadic
#813EC6 #C6813E #3EC681
tetradic
#813EC6 #C63E3F #83C63E #3EC6C5
square
#813EC6 #C63E3F #83C63E #3EC6C5
split-complementary
#813EC6 #C6C53E #3FC63E
monochromatic
#441F6A #632D99 #813EC6 #A06DD4 #BF9CE2

Accessibility & contrast

On white

6.11
#813EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#813EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813EC6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813EC6#FFFFFF#000000##FFFFFF
##813EC61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#735E7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813ec6;
/* rgb */ color: rgb(129, 62, 198);
/* oklch */ color: oklch(52.0% 0.202 302.4);
Tailwind
colors: {
  custom: {
    50: '#ab78d8',
    500: '#813ec6',
    950: '#000000',
  },
}
SCSS
$custom: #813ec6;
$custom-light: #ab78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#813ec6",
  "rgb": {
    "r": 129,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 269.559,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.20153,
    "h": 302.4
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#813EC6
secondary
#B0CE92
accent
#DE4A95
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #813EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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