#813DC5#813DC5

#813DC5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.202 H 302.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#813DC5
RGBrgb(129, 61, 197)
HSLhsl(270, 54%, 51%)
HSVhsv(270, 69%, 77%)
CMYKcmyk(34.5%, 69%, 0%, 22.7%)
CIE-LABlab(41.27, 54.43, -59.60)
CIE-LCHlch(41.27, 80.72, 312.40°)
OKLaboklab(51.78% 0.1092 -0.1696)
OKLCHoklch(51.78% 0.202 302.8)
XYZxyz(20.7977, 12.0358, 54.0400)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DC5 #81C53D
analogous
#3D3DC5 #813DC5 #C53DC5
triadic
#813DC5 #C5813D #3DC581
tetradic
#813DC5 #C53D3D #81C53D #3DC5C5
square
#813DC5 #C53D3D #81C53D #3DC5C5
split-complementary
#813DC5 #C5C53D #3DC53D
monochromatic
#441F68 #622D98 #813DC5 #A06CD3 #BE9BE1

Accessibility & contrast

On white

6.16
#813DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #813DC5
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DC5#FFFFFF#000000##FFFFFF
##813DC51.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#735D7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813dc5;
/* rgb */ color: rgb(129, 61, 197);
/* oklch */ color: oklch(51.8% 0.202 302.8);
Tailwind
colors: {
  custom: {
    50: '#ab78d7',
    500: '#813dc5',
    950: '#000000',
  },
}
SCSS
$custom: #813dc5;
$custom-light: #ab78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#813dc5",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.2017,
    "h": 302.8
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#813DC5
secondary
#AFCD91
accent
#DD4A94
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #813DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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