#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 |
|---|---|
| RGB | rgb(129, 61, 198) |
| HSL | hsl(270, 55%, 51%) |
| HSV | hsv(270, 69%, 78%) |
| CMYK | cmyk(34.8%, 69.2%, 0%, 22.4%) |
| CIE-LAB | lab(41.35, 54.67, -60.07) |
| CIE-LCH | lch(41.35, 81.22, 312.31°) |
| OKLab | oklab(51.85% 0.109 -0.1709) |
| OKLCH | oklch(51.85% 0.203 302.5) |
| XYZ | xyz(20.9126, 12.0818, 54.6454) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.16
Darkorchid
#9932CC
ΔE00 4.21
Bluish Purple
#703BE7
ΔE00 5.41
Bluey Purple
#6241C7
ΔE00 5.47
Darkviolet
#9400D3
ΔE00 5.72
Burple
#6832E3
ΔE00 6.00
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 |
|---|---|---|---|---|
| ##813DC6 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.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