#813FC2#813FC2

#813FC2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.196 H 303.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#813FC2
RGBrgb(129, 63, 194)
HSLhsl(270, 52%, 50%)
HSVhsv(270, 68%, 76%)
CMYKcmyk(33.5%, 67.5%, 0%, 23.9%)
CIE-LABlab(41.40, 52.75, -57.65)
CIE-LCHlch(41.40, 78.14, 312.46°)
OKLaboklab(51.8% 0.1075 -0.1638)
OKLCHoklch(51.8% 0.196 303.3)
XYZxyz(20.5661, 12.1172, 52.2838)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FC2 #80C23F
analogous
#3F3FC2 #813FC2 #C23FC2
triadic
#813FC2 #C2813F #3FC281
tetradic
#813FC2 #C23F3F #80C23F #3FC2C2
square
#813FC2 #C23F3F #80C23F #3FC2C2
split-complementary
#813FC2 #C2C23F #3FC23F
monochromatic
#442066 #622F95 #813FC2 #9F6DD1 #BE9CE0

Accessibility & contrast

On white

6.13
#813FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#813FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FC2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FC2#FFFFFF#000000##FFFFFF
##813FC21.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0161BF
Tritanopia (blue-blind)
#745D7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813fc2;
/* rgb */ color: rgb(129, 63, 194);
/* oklch */ color: oklch(51.8% 0.196 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa79d5',
    500: '#813fc2',
    950: '#000000',
  },
}
SCSS
$custom: #813fc2;
$custom-light: #aa79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#813fc2",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 270.229,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51801,
    "c": 0.19595,
    "h": 303.3
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#813FC2
secondary
#AECC91
accent
#DB4D93
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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