#8339C6#8339C6
#8339C6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.208 H 303.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8339C6 |
|---|---|
| RGB | rgb(131, 57, 198) |
| HSL | hsl(271, 55%, 50%) |
| HSV | hsv(271, 71%, 78%) |
| CMYK | cmyk(33.8%, 71.2%, 0%, 22.4%) |
| CIE-LAB | lab(40.94, 56.90, -60.71) |
| CIE-LCH | lch(40.94, 83.20, 313.14°) |
| OKLab | oklab(51.62% 0.1158 -0.1727) |
| OKLCH | oklch(51.62% 0.208 303.8) |
| XYZ | xyz(21.0139, 11.8288, 54.5913) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.80
Blueviolet
#8A2BE2
ΔE00 3.87
Darkviolet
#9400D3
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.65
Violet (survey)
#9A0EEA
ΔE00 5.76
Bluey Purple
#6241C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8339C6 #7CC639
analogous
#3C39C6 #8339C6 #C639C3
triadic
#8339C6 #C68339 #39C683
tetradic
#8339C6 #C63C39 #7CC639 #39C3C6
square
#8339C6 #C63C39 #7CC639 #39C3C6
split-complementary
#8339C6 #C3C639 #39C63C
monochromatic
#441E67 #642B96 #8339C6 #A169D4 #BF98E1
Accessibility & contrast
On white
6.24
#8339C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#8339C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8339C6
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8339C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8339C6 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#765B7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8339c6; /* rgb */ color: rgb(131, 57, 198); /* oklch */ color: oklch(51.6% 0.208 303.8);
Tailwind
colors: {
custom: {
50: '#ac76d8',
500: '#8339c6',
950: '#000000',
},
}SCSS
$custom: #8339c6; $custom-light: #ac76d8; $custom-dark: #000000;
JSON
{
"hex": "#8339c6",
"rgb": {
"r": 131,
"g": 57,
"b": 198
},
"hsl": {
"h": 271.489,
"s": 55.294,
"l": 50
},
"oklch": {
"l": 0.5162,
"c": 0.20798,
"h": 303.8
},
"luminance": 0.11829
}Semantic roles & 50–950 ramp
primary
#8339C6
secondary
#ACCD8E
accent
#DF4990
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83