#813CC5#813CC5

#813CC5 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.203 H 302.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#813CC5
RGBrgb(129, 60, 197)
HSLhsl(270, 54%, 50%)
HSVhsv(270, 70%, 77%)
CMYKcmyk(34.5%, 69.5%, 0%, 22.7%)
CIE-LABlab(41.10, 54.90, -59.88)
CIE-LCHlch(41.10, 81.23, 312.52°)
OKLaboklab(51.66% 0.1102 -0.1704)
OKLCHoklch(51.66% 0.203 302.9)
XYZxyz(20.7448, 11.9301, 54.0223)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CC5 #80C53C
analogous
#3C3CC5 #813CC5 #C53CC4
triadic
#813CC5 #C5813C #3CC581
tetradic
#813CC5 #C53C3C #80C53C #3CC4C5
square
#813CC5 #C53C3C #80C53C #3CC4C5
split-complementary
#813CC5 #C4C53C #3CC53C
monochromatic
#441F68 #622D97 #813CC5 #9F6BD3 #BE9AE1

Accessibility & contrast

On white

6.20
#813CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#813CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CC5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CC5#FFFFFF#000000##FFFFFF
##813CC51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#735C7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813cc5;
/* rgb */ color: rgb(129, 60, 197);
/* oklch */ color: oklch(51.7% 0.203 302.9);
Tailwind
colors: {
  custom: {
    50: '#ab77d7',
    500: '#813cc5',
    950: '#000000',
  },
}
SCSS
$custom: #813cc5;
$custom-light: #ab77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813cc5",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 270.219,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.20293,
    "h": 302.9
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#813CC5
secondary
#AECD90
accent
#DE4A93
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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