#813FCE#813FCE
#813FCE is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.209 H 300.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #813FCE |
|---|---|
| RGB | rgb(129, 63, 206) |
| HSL | hsl(268, 59%, 53%) |
| HSV | hsv(268, 69%, 81%) |
| CMYK | cmyk(37.4%, 69.4%, 0%, 19.2%) |
| CIE-LAB | lab(42.27, 55.67, -63.19) |
| CIE-LCH | lch(42.27, 84.22, 311.38°) |
| OKLab | oklab(52.7% 0.1058 -0.1802) |
| OKLCH | oklch(52.7% 0.209 300.4) |
| XYZ | xyz(21.9686, 12.6782, 59.6703) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.58
Bluish Purple
#703BE7
ΔE00 4.43
Darkorchid
#9932CC
ΔE00 4.45
Bluey Purple
#6241C7
ΔE00 5.31
Burple
#6832E3
ΔE00 5.45
Violet (survey)
#9A0EEA
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FCE #8CCE3F
analogous
#3F45CE #813FCE #C83FCE
triadic
#813FCE #CE813F #3FCE81
tetradic
#813FCE #CE3F45 #8CCE3F #3FCEC8
square
#813FCE #CE3F45 #8CCE3F #3FCEC8
split-complementary
#813FCE #CEC83F #45CE3F
monochromatic
#461E75 #632AA6 #813FCE #A170DA #C1A1E7
Accessibility & contrast
On white
5.94
#813FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#813FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FCE
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FCE | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#706182
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #813fce; /* rgb */ color: rgb(129, 63, 206); /* oklch */ color: oklch(52.7% 0.209 300.4);
Tailwind
colors: {
custom: {
50: '#ab79de',
500: '#813fce',
950: '#000000',
},
}SCSS
$custom: #813fce; $custom-light: #ab79de; $custom-dark: #000000;
JSON
{
"hex": "#813fce",
"rgb": {
"r": 129,
"g": 63,
"b": 206
},
"hsl": {
"h": 267.692,
"s": 59.336,
"l": 52.745
},
"oklch": {
"l": 0.52699,
"c": 0.20891,
"h": 300.4
},
"luminance": 0.12678
}Semantic roles & 50–950 ramp
primary
#813FCE
secondary
#B7D395
accent
#E3459A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83