#813DC6#813DC6

#813DC6 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.9% C 0.203 H 302.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#813DC6
RGBrgb(129, 61, 198)
HSLhsl(270, 55%, 51%)
HSVhsv(270, 69%, 78%)
CMYKcmyk(34.8%, 69.2%, 0%, 22.4%)
CIE-LABlab(41.35, 54.67, -60.07)
CIE-LCHlch(41.35, 81.22, 312.31°)
OKLaboklab(51.85% 0.109 -0.1709)
OKLCHoklch(51.85% 0.203 302.5)
XYZxyz(20.9126, 12.0818, 54.6454)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#813DC6 #82C63D
analogous
#3D3DC6 #813DC6 #C53DC6
triadic
#813DC6 #C6813D #3DC681
tetradic
#813DC6 #C63D3D #82C63D #3DC6C5
square
#813DC6 #C63D3D #82C63D #3DC6C5
split-complementary
#813DC6 #C6C53D #3DC63D
monochromatic
#441F6A #632D99 #813DC6 #A06CD4 #BE9CE2

Accessibility & contrast

On white

6.15
#813DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#813DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #813DC6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##813DC6#FFFFFF#000000##FFFFFF
##813DC61.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#735D7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #813dc6;
/* rgb */ color: rgb(129, 61, 198);
/* oklch */ color: oklch(51.9% 0.203 302.5);
Tailwind
colors: {
  custom: {
    50: '#ab78d8',
    500: '#813dc6',
    950: '#000000',
  },
}
SCSS
$custom: #813dc6;
$custom-light: #ab78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#813dc6",
  "rgb": {
    "r": 129,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 269.781,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.20276,
    "h": 302.5
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#813DC6
secondary
#B0CE91
accent
#DE4A94
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #813DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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