#8339C2#8339C2
#8339C2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.204 H 304.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8339C2 |
|---|---|
| RGB | rgb(131, 57, 194) |
| HSL | hsl(272, 55%, 49%) |
| HSV | hsv(272, 71%, 76%) |
| CMYK | cmyk(32.5%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.65, 55.96, -58.85) |
| CIE-LCH | lch(40.65, 81.21, 313.56°) |
| OKLab | oklab(51.32% 0.1165 -0.1673) |
| OKLCH | oklch(51.32% 0.204 304.8) |
| XYZ | xyz(20.5586, 11.6467, 52.1934) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.86
Blueviolet
#8A2BE2
ΔE00 4.39
Darkviolet
#9400D3
ΔE00 5.08
Purply
#983FB2
ΔE00 5.81
Bluey Purple
#6241C7
ΔE00 6.09
Violet (survey)
#9A0EEA
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8339C2 #78C239
analogous
#3F39C2 #8339C2 #C239BD
triadic
#8339C2 #C28339 #39C283
tetradic
#8339C2 #C23F39 #78C239 #39BDC2
square
#8339C2 #C23F39 #78C239 #39BDC2
split-complementary
#8339C2 #BDC239 #39C23F
monochromatic
#431D63 #632B93 #8339C2 #A066D2 #BE95E0
Accessibility & contrast
On white
6.31
#8339C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#8339C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8339C2
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8339C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8339C2 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#77597A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #8339c2; /* rgb */ color: rgb(131, 57, 194); /* oklch */ color: oklch(51.3% 0.204 304.8);
Tailwind
colors: {
custom: {
50: '#ac75d5',
500: '#8339c2',
950: '#000000',
},
}SCSS
$custom: #8339c2; $custom-light: #ac75d5; $custom-dark: #000000;
JSON
{
"hex": "#8339c2",
"rgb": {
"r": 131,
"g": 57,
"b": 194
},
"hsl": {
"h": 272.409,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.51319,
"c": 0.20385,
"h": 304.8
},
"luminance": 0.11647
}Semantic roles & 50–950 ramp
primary
#8339C2
secondary
#A9CB8B
accent
#DE4A8E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83