#813FCF#813FCF
#813FCF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.210 H 300.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #813FCF |
|---|---|
| RGB | rgb(129, 63, 207) |
| HSL | hsl(268, 60%, 53%) |
| HSV | hsv(268, 70%, 81%) |
| CMYK | cmyk(37.7%, 69.6%, 0%, 18.8%) |
| CIE-LAB | lab(42.35, 55.91, -63.65) |
| CIE-LCH | lch(42.35, 84.72, 311.30°) |
| OKLab | oklab(52.78% 0.1056 -0.1815) |
| OKLCH | oklch(52.78% 0.21 300.2) |
| XYZ | xyz(22.0905, 12.7269, 60.3121) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.50
Bluish Purple
#703BE7
ΔE00 4.32
Darkorchid
#9932CC
ΔE00 4.49
Bluey Purple
#6241C7
ΔE00 5.31
Burple
#6832E3
ΔE00 5.38
Violet (survey)
#9A0EEA
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#813FCF #8DCF3F
analogous
#3F45CF #813FCF #C93FCF
triadic
#813FCF #CF813F #3FCF81
tetradic
#813FCF #CF3F45 #8DCF3F #3FCFC9
square
#813FCF #CF3F45 #8DCF3F #3FCFC9
split-complementary
#813FCF #CFC93F #45CF3F
monochromatic
#461E76 #632AA7 #813FCF #A170DB #C1A1E7
Accessibility & contrast
On white
5.92
#813FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#813FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #813FCF
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##813FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##813FCF | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#6F6282
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #813fcf; /* rgb */ color: rgb(129, 63, 207); /* oklch */ color: oklch(52.8% 0.210 300.2);
Tailwind
colors: {
custom: {
50: '#ac79df',
500: '#813fcf',
950: '#000000',
},
}SCSS
$custom: #813fcf; $custom-light: #ac79df; $custom-dark: #000000;
JSON
{
"hex": "#813fcf",
"rgb": {
"r": 129,
"g": 63,
"b": 207
},
"hsl": {
"h": 267.5,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.52776,
"c": 0.20999,
"h": 300.2
},
"luminance": 0.12727
}Semantic roles & 50–950 ramp
primary
#813FCF
secondary
#B7D496
accent
#E3459B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83