#8339B8#8339B8
#8339B8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.194 H 307.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8339B8 |
|---|---|
| RGB | rgb(131, 57, 184) |
| HSL | hsl(275, 53%, 47%) |
| HSV | hsv(275, 69%, 72%) |
| CMYK | cmyk(28.8%, 69%, 0%, 27.8%) |
| CIE-LAB | lab(39.94, 53.66, -54.15) |
| CIE-LCH | lch(39.94, 76.23, 314.74°) |
| OKLab | oklab(50.59% 0.1179 -0.1535) |
| OKLCH | oklch(50.59% 0.194 307.5) |
| XYZ | xyz(19.4731, 11.2125, 46.4765) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.36
Purply
#983FB2
ΔE00 5.04
Darkviolet
#9400D3
ΔE00 5.65
Blueviolet
#8A2BE2
ΔE00 5.82
Purple (survey)
#7E1E9C
ΔE00 6.46
Royal Purple
#7851A9
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8339B8 #6EB839
analogous
#4439B8 #8339B8 #B839AD
triadic
#8339B8 #B88339 #39B883
tetradic
#8339B8 #B84439 #6EB839 #39ADB8
square
#8339B8 #B84439 #6EB839 #39ADB8
split-complementary
#8339B8 #ADB839 #39B844
monochromatic
#401C5B #622B89 #8339B8 #A060CE #BC8FDC
Accessibility & contrast
On white
6.48
#8339B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#8339B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8339B8
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8339B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8339B8 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#185FB5
Tritanopia (blue-blind)
#7A5574
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8339b8; /* rgb */ color: rgb(131, 57, 184); /* oklch */ color: oklch(50.6% 0.194 307.5);
Tailwind
colors: {
custom: {
50: '#ab75ce',
500: '#8339b8',
950: '#000000',
},
}SCSS
$custom: #8339b8; $custom-light: #ab75ce; $custom-dark: #000000;
JSON
{
"hex": "#8339b8",
"rgb": {
"r": 131,
"g": 57,
"b": 184
},
"hsl": {
"h": 274.961,
"s": 52.697,
"l": 47.255
},
"oklch": {
"l": 0.50585,
"c": 0.1935,
"h": 307.5
},
"luminance": 0.11212
}Semantic roles & 50–950 ramp
primary
#8339B8
secondary
#A1C786
accent
#DC4C88
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82