#8339CB#8339CB
#8339CB is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.213 H 302.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8339CB |
|---|---|
| RGB | rgb(131, 57, 203) |
| HSL | hsl(270, 58%, 51%) |
| HSV | hsv(270, 72%, 80%) |
| CMYK | cmyk(35.5%, 71.9%, 0%, 20.4%) |
| CIE-LAB | lab(41.32, 58.07, -63.00) |
| CIE-LCH | lch(41.32, 85.68, 312.67°) |
| OKLab | oklab(52% 0.1149 -0.1795) |
| OKLCH | oklch(52% 0.213 302.6) |
| XYZ | xyz(21.6001, 12.0633, 57.6788) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.26
Darkorchid
#9932CC
ΔE00 3.85
Darkviolet
#9400D3
ΔE00 4.94
Bluish Purple
#703BE7
ΔE00 5.01
Violet (survey)
#9A0EEA
ΔE00 5.33
Burple
#6832E3
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8339CB #81CB39
analogous
#3A39CB #8339CB #CB39CA
triadic
#8339CB #CB8339 #39CB83
tetradic
#8339CB #CB3A39 #81CB39 #39CACB
square
#8339CB #CB3A39 #81CB39 #39CACB
split-complementary
#8339CB #CACB39 #39CB3A
monochromatic
#451D6D #64299D #8339CB #A169D8 #C09AE4
Accessibility & contrast
On white
6.15
#8339CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#8339CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8339CB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8339CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8339CB | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#745D7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8339cb; /* rgb */ color: rgb(131, 57, 203); /* oklch */ color: oklch(52.0% 0.213 302.6);
Tailwind
colors: {
custom: {
50: '#ad76dc',
500: '#8339cb',
950: '#000000',
},
}SCSS
$custom: #8339cb; $custom-light: #ad76dc; $custom-dark: #000000;
JSON
{
"hex": "#8339cb",
"rgb": {
"r": 131,
"g": 57,
"b": 203
},
"hsl": {
"h": 270.411,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.52002,
"c": 0.21314,
"h": 302.6
},
"luminance": 0.12063
}Semantic roles & 50–950 ramp
primary
#8339CB
secondary
#AFD090
accent
#E24693
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83