#813CC0#813CC0

#813CC0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.3% C 0.198 H 304.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#813CC0
RGBrgb(129, 60, 192)
HSLhsl(271, 52%, 49%)
HSVhsv(271, 69%, 75%)
CMYKcmyk(32.8%, 68.7%, 0%, 24.7%)
CIE-LABlab(40.74, 53.71, -57.55)
CIE-LCHlch(40.74, 78.72, 313.03°)
OKLaboklab(51.29% 0.1109 -0.1635)
OKLCHoklch(51.29% 0.198 304.1)
XYZxyz(20.1814, 11.7047, 51.0550)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CC0 #7BC03C
analogous
#3F3CC0 #813CC0 #C03CBD
triadic
#813CC0 #C0813C #3CC081
tetradic
#813CC0 #C03F3C #7BC03C #3CBDC0
square
#813CC0 #C03F3C #7BC03C #3CBDC0
split-complementary
#813CC0 #BDC03C #3CC03F
monochromatic
#421F63 #622D91 #813CC0 #9F69D0 #BD98DF

Accessibility & contrast

On white

6.29
#813CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#813CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CC0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CC0#FFFFFF#000000##FFFFFF
##813CC01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#755A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813cc0;
/* rgb */ color: rgb(129, 60, 192);
/* oklch */ color: oklch(51.3% 0.198 304.1);
Tailwind
colors: {
  custom: {
    50: '#aa77d4',
    500: '#813cc0',
    950: '#000000',
  },
}
SCSS
$custom: #813cc0;
$custom-light: #aa77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#813cc0",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 192
  },
  "hsl": {
    "h": 271.364,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51285,
    "c": 0.19761,
    "h": 304.1
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#813CC0
secondary
#ABCA8D
accent
#DC4C91
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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