#8339B7#8339B7
#8339B7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.5% C 0.192 H 307.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8339B7 |
|---|---|
| RGB | rgb(131, 57, 183) |
| HSL | hsl(275, 53%, 47%) |
| HSV | hsv(275, 69%, 72%) |
| CMYK | cmyk(28.4%, 68.9%, 0%, 28.2%) |
| CIE-LAB | lab(39.87, 53.43, -53.67) |
| CIE-LCH | lch(39.87, 75.73, 314.87°) |
| OKLab | oklab(50.51% 0.118 -0.1521) |
| OKLCH | oklch(50.51% 0.192 307.8) |
| XYZ | xyz(19.3687, 11.1707, 45.9264) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.44
Purply
#983FB2
ΔE00 4.98
Darkviolet
#9400D3
ΔE00 5.72
Blueviolet
#8A2BE2
ΔE00 5.97
Purple (survey)
#7E1E9C
ΔE00 6.35
Royal Purple
#7851A9
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8339B7 #6DB739
analogous
#4439B7 #8339B7 #B739AC
triadic
#8339B7 #B78339 #39B783
tetradic
#8339B7 #B74439 #6DB739 #39ACB7
square
#8339B7 #B74439 #6DB739 #39ACB7
split-complementary
#8339B7 #ACB739 #39B744
monochromatic
#401C5A #622A88 #8339B7 #A060CD #BC8EDC
Accessibility & contrast
On white
6.49
#8339B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8339B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8339B7
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8339B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8339B7 | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#1A5FB4
Tritanopia (blue-blind)
#7B5574
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8339b7; /* rgb */ color: rgb(131, 57, 183); /* oklch */ color: oklch(50.5% 0.192 307.8);
Tailwind
colors: {
custom: {
50: '#ab75cd',
500: '#8339b7',
950: '#000000',
},
}SCSS
$custom: #8339b7; $custom-light: #ab75cd; $custom-dark: #000000;
JSON
{
"hex": "#8339b7",
"rgb": {
"r": 131,
"g": 57,
"b": 183
},
"hsl": {
"h": 275.238,
"s": 52.5,
"l": 47.059
},
"oklch": {
"l": 0.50514,
"c": 0.19247,
"h": 307.8
},
"luminance": 0.1117
}Semantic roles & 50–950 ramp
primary
#8339B7
secondary
#A0C785
accent
#DC4C87
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82