#813DC1#813DC1

#813DC1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.197 H 303.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#813DC1
RGBrgb(129, 61, 193)
HSLhsl(271, 52%, 50%)
HSVhsv(271, 68%, 76%)
CMYKcmyk(33.2%, 68.4%, 0%, 24.3%)
CIE-LABlab(40.98, 53.47, -57.74)
CIE-LCHlch(40.98, 78.70, 312.80°)
OKLaboklab(51.48% 0.1097 -0.1641)
OKLCHoklch(51.48% 0.197 303.8)
XYZxyz(20.3454, 11.8549, 51.6581)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DC1 #7DC13D
analogous
#3F3DC1 #813DC1 #C13DBF
triadic
#813DC1 #C1813D #3DC181
tetradic
#813DC1 #C13F3D #7DC13D #3DBFC1
square
#813DC1 #C13F3D #7DC13D #3DBFC1
split-complementary
#813DC1 #BFC13D #3DC13F
monochromatic
#432064 #622E92 #813DC1 #9F6BD0 #BD99DF

Accessibility & contrast

On white

6.23
#813DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813DC1
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DC1#FFFFFF#000000##FFFFFF
##813DC11.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#755B7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813dc1;
/* rgb */ color: rgb(129, 61, 193);
/* oklch */ color: oklch(51.5% 0.197 303.8);
Tailwind
colors: {
  custom: {
    50: '#ab77d5',
    500: '#813dc1',
    950: '#000000',
  },
}
SCSS
$custom: #813dc1;
$custom-light: #ab77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#813dc1",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 270.909,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.19742,
    "h": 303.8
  },
  "luminance": 0.11855
}

Semantic roles & 50–950 ramp

primary
#813DC1
secondary
#ACCB8F
accent
#DB4C92
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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