#813CC2#813CC2

#813CC2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.200 H 303.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#813CC2
RGBrgb(129, 60, 194)
HSLhsl(271, 53%, 50%)
HSVhsv(271, 69%, 76%)
CMYKcmyk(33.5%, 69.1%, 0%, 23.9%)
CIE-LABlab(40.89, 54.19, -58.48)
CIE-LCHlch(40.89, 79.72, 312.82°)
OKLaboklab(51.43% 0.1107 -0.1663)
OKLCHoklch(51.43% 0.2 303.6)
XYZxyz(20.4045, 11.7939, 52.2300)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CC2 #7DC23C
analogous
#3E3CC2 #813CC2 #C23CC0
triadic
#813CC2 #C2813C #3CC281
tetradic
#813CC2 #C23E3C #7DC23C #3CC0C2
square
#813CC2 #C23E3C #7DC23C #3CC0C2
split-complementary
#813CC2 #C0C23C #3CC23E
monochromatic
#431F65 #622E93 #813CC2 #9F6AD1 #BD99DF

Accessibility & contrast

On white

6.25
#813CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813CC2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CC2#FFFFFF#000000##FFFFFF
##813CC21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#745B7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813cc2;
/* rgb */ color: rgb(129, 60, 194);
/* oklch */ color: oklch(51.4% 0.200 303.6);
Tailwind
colors: {
  custom: {
    50: '#ab77d5',
    500: '#813cc2',
    950: '#000000',
  },
}
SCSS
$custom: #813cc2;
$custom-light: #ab77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#813cc2",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 270.896,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.19974,
    "h": 303.6
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

primary
#813CC2
secondary
#ACCB8F
accent
#DC4C92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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