#813FBF#813FBF
#813FBF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.6% C 0.193 H 304.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #813FBF |
|---|---|
| RGB | rgb(129, 63, 191) |
| HSL | hsl(271, 50%, 50%) |
| HSV | hsv(271, 67%, 75%) |
| CMYK | cmyk(32.5%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(41.19, 52.03, -56.24) |
| CIE-LCH | lch(41.19, 76.62, 312.78°) |
| OKLab | oklab(51.58% 0.1078 -0.1597) |
| OKLCH | oklch(51.58% 0.193 304) |
| XYZ | xyz(20.2326, 11.9838, 50.5273) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.39
Blueviolet
#8A2BE2
ΔE00 5.17
Purply
#983FB2
ΔE00 5.63
Bluey Purple
#6241C7
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 5.89
Darkviolet
#9400D3
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FBF #7DBF3F
analogous
#413FBF #813FBF #BF3FBD
triadic
#813FBF #BF813F #3FBF81
tetradic
#813FBF #BF413F #7DBF3F #3FBDBF
square
#813FBF #BF413F #7DBF3F #3FBDBF
split-complementary
#813FBF #BDBF3F #3FBF41
monochromatic
#432163 #623091 #813FBF #9F6DCF #BD9BDE
Accessibility & contrast
On white
6.18
#813FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#813FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FBF
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FBF | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0F61BC
Tritanopia (blue-blind)
#755C7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #813fbf; /* rgb */ color: rgb(129, 63, 191); /* oklch */ color: oklch(51.6% 0.193 304.0);
Tailwind
colors: {
custom: {
50: '#aa79d3',
500: '#813fbf',
950: '#000000',
},
}SCSS
$custom: #813fbf; $custom-light: #aa79d3; $custom-dark: #000000;
JSON
{
"hex": "#813fbf",
"rgb": {
"r": 129,
"g": 63,
"b": 191
},
"hsl": {
"h": 270.938,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.51583,
"c": 0.19269,
"h": 304
},
"luminance": 0.11984
}Semantic roles & 50–950 ramp
primary
#813FBF
secondary
#ACCA90
accent
#DA4E92
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83