#813FC4#813FC4

#813FC4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.198 H 302.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#813FC4
RGBrgb(129, 63, 196)
HSLhsl(270, 53%, 51%)
HSVhsv(270, 68%, 77%)
CMYKcmyk(34.2%, 67.9%, 0%, 23.1%)
CIE-LABlab(41.54, 53.24, -58.58)
CIE-LCHlch(41.54, 79.16, 312.26°)
OKLaboklab(51.95% 0.1072 -0.1666)
OKLCHoklch(51.95% 0.198 302.8)
XYZxyz(20.7922, 12.2076, 53.4748)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FC4 #82C43F
analogous
#3F3FC4 #813FC4 #C33FC4
triadic
#813FC4 #C4813F #3FC481
tetradic
#813FC4 #C43F3F #82C43F #3FC4C3
square
#813FC4 #C43F3F #82C43F #3FC4C3
split-complementary
#813FC4 #C4C33F #3FC43F
monochromatic
#442068 #632E97 #813FC4 #A06ED2 #BE9DE1

Accessibility & contrast

On white

6.10
#813FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#813FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FC4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FC4#FFFFFF#000000##FFFFFF
##813FC41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#745D7C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #813fc4;
/* rgb */ color: rgb(129, 63, 196);
/* oklch */ color: oklch(51.9% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#ab79d7',
    500: '#813fc4',
    950: '#000000',
  },
}
SCSS
$custom: #813fc4;
$custom-light: #ab79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813fc4",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 269.774,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51948,
    "c": 0.19811,
    "h": 302.8
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#813FC4
secondary
#B0CD92
accent
#DC4B94
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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