#813DBF#813DBF
#813DBF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.195 H 304.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #813DBF |
|---|---|
| RGB | rgb(129, 61, 191) |
| HSL | hsl(271, 52%, 49%) |
| HSV | hsv(271, 68%, 75%) |
| CMYK | cmyk(32.5%, 68.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.84, 53.00, -56.80) |
| CIE-LCH | lch(40.84, 77.69, 313.02°) |
| OKLab | oklab(51.33% 0.11 -0.1613) |
| OKLCH | oklch(51.33% 0.195 304.3) |
| XYZ | xyz(20.1238, 11.7663, 50.4911) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 5.02
Purply
#983FB2
ΔE00 5.69
Bluey Purple
#6241C7
ΔE00 5.85
Darkviolet
#9400D3
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813DBF #7BBF3D
analogous
#403DBF #813DBF #BF3DBC
triadic
#813DBF #BF813D #3DBF81
tetradic
#813DBF #BF403D #7BBF3D #3DBCBF
square
#813DBF #BF403D #7BBF3D #3DBCBF
split-complementary
#813DBF #BCBF3D #3DBF40
monochromatic
#421F62 #622E91 #813DBF #9F6ACF #BD98DE
Accessibility & contrast
On white
6.26
#813DBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#813DBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813DBF
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813DBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813DBF | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0760BC
Tritanopia (blue-blind)
#755A79
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #813dbf; /* rgb */ color: rgb(129, 61, 191); /* oklch */ color: oklch(51.3% 0.195 304.3);
Tailwind
colors: {
custom: {
50: '#aa77d3',
500: '#813dbf',
950: '#000000',
},
}SCSS
$custom: #813dbf; $custom-light: #aa77d3; $custom-dark: #000000;
JSON
{
"hex": "#813dbf",
"rgb": {
"r": 129,
"g": 61,
"b": 191
},
"hsl": {
"h": 271.385,
"s": 51.587,
"l": 49.412
},
"oklch": {
"l": 0.51333,
"c": 0.19527,
"h": 304.3
},
"luminance": 0.11766
}Semantic roles & 50–950 ramp
primary
#813DBF
secondary
#ABCA8E
accent
#DB4D91
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83