#813BC0#813BC0

#813BC0 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.199 H 304.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#813BC0
RGBrgb(129, 59, 192)
HSLhsl(272, 53%, 49%)
HSVhsv(272, 69%, 75%)
CMYKcmyk(32.8%, 69.3%, 0%, 24.7%)
CIE-LABlab(40.57, 54.18, -57.82)
CIE-LCHlch(40.57, 79.24, 313.14°)
OKLaboklab(51.17% 0.112 -0.1643)
OKLCHoklch(51.17% 0.199 304.3)
XYZxyz(20.1295, 11.6009, 51.0377)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813BC0 #7AC03B
analogous
#3F3BC0 #813BC0 #C03BBD
triadic
#813BC0 #C0813B #3BC081
tetradic
#813BC0 #C03F3B #7AC03B #3BBDC0
square
#813BC0 #C03F3B #7AC03B #3BBDC0
split-complementary
#813BC0 #BDC03B #3BC03F
monochromatic
#421E62 #622D91 #813BC0 #9F68D1 #BD97DF

Accessibility & contrast

On white

6.32
#813BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#813BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813BC0
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813BC0#FFFFFF#000000##FFFFFF
##813BC01.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#755A79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #813bc0;
/* rgb */ color: rgb(129, 59, 192);
/* oklch */ color: oklch(51.2% 0.199 304.3);
Tailwind
colors: {
  custom: {
    50: '#ab76d4',
    500: '#813bc0',
    950: '#000000',
  },
}
SCSS
$custom: #813bc0;
$custom-light: #ab76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#813bc0",
  "rgb": {
    "r": 129,
    "g": 59,
    "b": 192
  },
  "hsl": {
    "h": 271.579,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.19886,
    "h": 304.3
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#813BC0
secondary
#AACA8C
accent
#DC4B90
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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