#813FB7#813FB7
#813FB7 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.184 H 306.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #813FB7 |
|---|---|
| RGB | rgb(129, 63, 183) |
| HSL | hsl(273, 49%, 48%) |
| HSV | hsv(273, 66%, 72%) |
| CMYK | cmyk(29.5%, 65.6%, 0%, 28.2%) |
| CIE-LAB | lab(40.64, 50.13, -52.43) |
| CIE-LCH | lch(40.64, 72.54, 313.71°) |
| OKLab | oklab(51.01% 0.1086 -0.1485) |
| OKLCH | oklch(51.01% 0.184 306.2) |
| XYZ | xyz(19.3762, 11.6412, 46.0168) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.80
Purply
#983FB2
ΔE00 5.00
Royal Purple
#7851A9
ΔE00 5.34
Blueviolet
#8A2BE2
ΔE00 6.26
Bluey Purple
#6241C7
ΔE00 6.53
Darkviolet
#9400D3
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FB7 #75B73F
analogous
#453FB7 #813FB7 #B73FB1
triadic
#813FB7 #B7813F #3FB781
tetradic
#813FB7 #B7453F #75B73F #3FB1B7
square
#813FB7 #B7453F #75B73F #3FB1B7
split-complementary
#813FB7 #B1B73F #3FB745
monochromatic
#41205C #612F89 #813FB7 #9F68CB #BC96DB
Accessibility & contrast
On white
6.31
#813FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#813FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FB7
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FB7 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#785975
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #813fb7; /* rgb */ color: rgb(129, 63, 183); /* oklch */ color: oklch(51.0% 0.184 306.2);
Tailwind
colors: {
custom: {
50: '#aa78cd',
500: '#813fb7',
950: '#000000',
},
}SCSS
$custom: #813fb7; $custom-light: #aa78cd; $custom-dark: #000000;
JSON
{
"hex": "#813fb7",
"rgb": {
"r": 129,
"g": 63,
"b": 183
},
"hsl": {
"h": 273,
"s": 48.78,
"l": 48.235
},
"oklch": {
"l": 0.51013,
"c": 0.184,
"h": 306.2
},
"luminance": 0.11641
}Semantic roles & 50–950 ramp
primary
#813FB7
secondary
#A6C68B
accent
#D84F8D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82