#8939C2#8939C2
#8939C2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.205 H 307.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #8939C2 |
|---|---|
| RGB | rgb(137, 57, 194) |
| HSL | hsl(275, 55%, 49%) |
| HSV | hsv(275, 71%, 76%) |
| CMYK | cmyk(29.4%, 70.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.44, 57.15, -57.54) |
| CIE-LCH | lch(41.44, 81.10, 314.80°) |
| OKLab | oklab(52.05% 0.1246 -0.1632) |
| OKLCH | oklch(52.05% 0.205 307.4) |
| XYZ | xyz(21.5152, 12.1399, 52.2383) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.87
Blueviolet
#8A2BE2
ΔE00 4.51
Purply
#983FB2
ΔE00 4.83
Darkviolet
#9400D3
ΔE00 4.93
Violet (survey)
#9A0EEA
ΔE00 5.87
Vibrant Purple
#AD03DE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8939C2 #72C239
analogous
#4439C2 #8939C2 #C239B7
triadic
#8939C2 #C28939 #39C289
tetradic
#8939C2 #C24439 #72C239 #39B7C2
square
#8939C2 #C24439 #72C239 #39B7C2
split-complementary
#8939C2 #B7C239 #39C244
monochromatic
#461D63 #682B93 #8939C2 #A566D2 #C195E0
Accessibility & contrast
On white
6.13
#8939C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#8939C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8939C2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8939C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8939C2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0D62BF
Tritanopia (blue-blind)
#80587A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8939c2; /* rgb */ color: rgb(137, 57, 194); /* oklch */ color: oklch(52.0% 0.205 307.4);
Tailwind
colors: {
custom: {
50: '#b076d5',
500: '#8939c2',
950: '#000000',
},
}SCSS
$custom: #8939c2; $custom-light: #b076d5; $custom-dark: #000000;
JSON
{
"hex": "#8939c2",
"rgb": {
"r": 137,
"g": 57,
"b": 194
},
"hsl": {
"h": 275.036,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.52049,
"c": 0.20534,
"h": 307.4
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#8939C2
secondary
#A6CB8B
accent
#DE4A87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83