#813CC3#813CC3

#813CC3 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.201 H 303.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#813CC3
RGBrgb(129, 60, 195)
HSLhsl(271, 53%, 50%)
HSVhsv(271, 69%, 76%)
CMYKcmyk(33.8%, 69.2%, 0%, 23.5%)
CIE-LABlab(40.96, 54.42, -58.95)
CIE-LCHlch(40.96, 80.23, 312.72°)
OKLaboklab(51.51% 0.1105 -0.1676)
OKLCHoklch(51.51% 0.201 303.4)
XYZxyz(20.5172, 11.8390, 52.8234)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813CC3 #7EC33C
analogous
#3E3CC3 #813CC3 #C33CC1
triadic
#813CC3 #C3813C #3CC381
tetradic
#813CC3 #C33E3C #7EC33C #3CC1C3
square
#813CC3 #C33E3C #7EC33C #3CC1C3
split-complementary
#813CC3 #C1C33C #3CC33E
monochromatic
#431F65 #622E94 #813CC3 #9F6BD1 #BD9AE0

Accessibility & contrast

On white

6.24
#813CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#813CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813CC3
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813CC3#FFFFFF#000000##FFFFFF
##813CC31.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#745B7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813cc3;
/* rgb */ color: rgb(129, 60, 195);
/* oklch */ color: oklch(51.5% 0.201 303.4);
Tailwind
colors: {
  custom: {
    50: '#ab77d6',
    500: '#813cc3',
    950: '#000000',
  },
}
SCSS
$custom: #813cc3;
$custom-light: #ab77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#813cc3",
  "rgb": {
    "r": 129,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 270.667,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.2008,
    "h": 303.4
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#813CC3
secondary
#ADCC8F
accent
#DC4B92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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