#813FC0#813FC0

#813FC0 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.194 H 303.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#813FC0
RGBrgb(129, 63, 192)
HSLhsl(271, 51%, 50%)
HSVhsv(271, 67%, 75%)
CMYKcmyk(32.8%, 67.2%, 0%, 24.7%)
CIE-LABlab(41.26, 52.27, -56.71)
CIE-LCHlch(41.26, 77.12, 312.67°)
OKLaboklab(51.65% 0.1077 -0.1611)
OKLCHoklch(51.65% 0.194 303.8)
XYZxyz(20.3430, 12.0280, 51.1089)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813FC0 #7EC03F
analogous
#413FC0 #813FC0 #C03FBE
triadic
#813FC0 #C0813F #3FC081
tetradic
#813FC0 #C0413F #7EC03F #3FBEC0
square
#813FC0 #C0413F #7EC03F #3FBEC0
split-complementary
#813FC0 #BEC03F #3FC041
monochromatic
#432164 #623092 #813FC0 #9F6DCF #BD9BDE

Accessibility & contrast

On white

6.17
#813FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#813FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813FC0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813FC0#FFFFFF#000000##FFFFFF
##813FC01.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C4
Deuteranopia (green-blind)
#0B61BD
Tritanopia (blue-blind)
#755C7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813fc0;
/* rgb */ color: rgb(129, 63, 192);
/* oklch */ color: oklch(51.7% 0.194 303.8);
Tailwind
colors: {
  custom: {
    50: '#aa79d4',
    500: '#813fc0',
    950: '#000000',
  },
}
SCSS
$custom: #813fc0;
$custom-light: #aa79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#813fc0",
  "rgb": {
    "r": 129,
    "g": 63,
    "b": 192
  },
  "hsl": {
    "h": 270.698,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.19378,
    "h": 303.8
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#813FC0
secondary
#ADCA91
accent
#DA4E92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #813FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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