#813CCA#813CCA
#813CCA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.208 H 301.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #813CCA |
|---|---|
| RGB | rgb(129, 60, 202) |
| HSL | hsl(269, 57%, 51%) |
| HSV | hsv(269, 70%, 79%) |
| CMYK | cmyk(36.1%, 70.3%, 0%, 20.8%) |
| CIE-LAB | lab(41.47, 56.10, -62.18) |
| CIE-LCH | lch(41.47, 83.75, 312.06°) |
| OKLab | oklab(52.04% 0.1094 -0.1772) |
| OKLCH | oklch(52.04% 0.208 301.7) |
| XYZ | xyz(21.3272, 12.1630, 57.0898) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.64
Darkorchid
#9932CC
ΔE00 4.22
Bluish Purple
#703BE7
ΔE00 4.88
Bluey Purple
#6241C7
ΔE00 5.35
Darkviolet
#9400D3
ΔE00 5.53
Burple
#6832E3
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813CCA #85CA3C
analogous
#3C3ECA #813CCA #C83CCA
triadic
#813CCA #CA813C #3CCA81
tetradic
#813CCA #CA3C3E #85CA3C #3CCAC8
square
#813CCA #CA3C3E #85CA3C #3CCAC8
split-complementary
#813CCA #CAC83C #3ECA3C
monochromatic
#451E6E #632B9E #813CCA #A06CD7 #BF9CE4
Accessibility & contrast
On white
6.12
#813CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#813CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813CCA
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813CCA | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#715E7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #813cca; /* rgb */ color: rgb(129, 60, 202); /* oklch */ color: oklch(52.0% 0.208 301.7);
Tailwind
colors: {
custom: {
50: '#ab77db',
500: '#813cca',
950: '#000000',
},
}SCSS
$custom: #813cca; $custom-light: #ab77db; $custom-dark: #000000;
JSON
{
"hex": "#813cca",
"rgb": {
"r": 129,
"g": 60,
"b": 202
},
"hsl": {
"h": 269.155,
"s": 57.258,
"l": 51.373
},
"oklch": {
"l": 0.52036,
"c": 0.20823,
"h": 301.7
},
"luminance": 0.12163
}Semantic roles & 50–950 ramp
primary
#813CCA
secondary
#B2D092
accent
#E14796
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83