#8D39C2#8D39C2
#8D39C2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.206 H 309.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8D39C2 |
|---|---|
| RGB | rgb(141, 57, 194) |
| HSL | hsl(277, 55%, 49%) |
| HSV | hsv(277, 71%, 76%) |
| CMYK | cmyk(27.3%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.98, 57.95, -56.64) |
| CIE-LCH | lch(41.98, 81.03, 315.65°) |
| OKLab | oklab(52.55% 0.1299 -0.1605) |
| OKLCH | oklch(52.55% 0.206 309) |
| XYZ | xyz(22.1833, 12.4844, 52.2696) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.28
Purply
#983FB2
ΔE00 4.21
Blueviolet
#8A2BE2
ΔE00 4.74
Darkviolet
#9400D3
ΔE00 4.98
Violet (survey)
#9A0EEA
ΔE00 5.80
Vibrant Purple
#AD03DE
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D39C2 #6EC239
analogous
#4839C2 #8D39C2 #C239B3
triadic
#8D39C2 #C28D39 #39C28D
tetradic
#8D39C2 #C24839 #6EC239 #39B3C2
square
#8D39C2 #C24839 #6EC239 #39B3C2
split-complementary
#8D39C2 #B3C239 #39C248
monochromatic
#481D63 #6B2B93 #8D39C2 #A866D2 #C395E0
Accessibility & contrast
On white
6.01
#8D39C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8D39C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D39C2
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D39C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D39C2 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#85587A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8d39c2; /* rgb */ color: rgb(141, 57, 194); /* oklch */ color: oklch(52.5% 0.206 309.0);
Tailwind
colors: {
custom: {
50: '#b376d5',
500: '#8d39c2',
950: '#000000',
},
}SCSS
$custom: #8d39c2; $custom-light: #b376d5; $custom-dark: #000000;
JSON
{
"hex": "#8d39c2",
"rgb": {
"r": 141,
"g": 57,
"b": 194
},
"hsl": {
"h": 276.788,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.52546,
"c": 0.20644,
"h": 309
},
"luminance": 0.12484
}Semantic roles & 50–950 ramp
primary
#8D39C2
secondary
#A4CB8B
accent
#DE4A83
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83