#8930C6#8930C6
#8930C6 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.219 H 307.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8930C6 |
|---|---|
| RGB | rgb(137, 48, 198) |
| HSL | hsl(276, 61%, 48%) |
| HSV | hsv(276, 76%, 78%) |
| CMYK | cmyk(30.8%, 75.8%, 0%, 22.4%) |
| CIE-LAB | lab(40.43, 61.74, -61.51) |
| CIE-LCH | lch(40.43, 87.15, 315.11°) |
| OKLab | oklab(51.43% 0.1324 -0.1748) |
| OKLCH | oklch(51.43% 0.219 307.1) |
| XYZ | xyz(21.5643, 11.5098, 54.5007) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.10
Darkviolet
#9400D3
ΔE00 3.52
Blueviolet
#8A2BE2
ΔE00 3.75
Violet (survey)
#9A0EEA
ΔE00 5.01
Purply
#983FB2
ΔE00 5.87
Vibrant Purple
#AD03DE
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8930C6 #6DC630
analogous
#3E30C6 #8930C6 #C630B8
triadic
#8930C6 #C68930 #30C689
tetradic
#8930C6 #C63E30 #6DC630 #30B8C6
square
#8930C6 #C63E30 #6DC630 #30B8C6
split-complementary
#8930C6 #B8C630 #30C63E
monochromatic
#451863 #672495 #8930C6 #A55CD7 #C08DE3
Accessibility & contrast
On white
6.36
#8930C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8930C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8930C6
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8930C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8930C6 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#7F557A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8930c6; /* rgb */ color: rgb(137, 48, 198); /* oklch */ color: oklch(51.4% 0.219 307.1);
Tailwind
colors: {
custom: {
50: '#b172d8',
500: '#8930c6',
950: '#000000',
},
}SCSS
$custom: #8930c6; $custom-light: #b172d8; $custom-dark: #000000;
JSON
{
"hex": "#8930c6",
"rgb": {
"r": 137,
"g": 48,
"b": 198
},
"hsl": {
"h": 275.6,
"s": 60.976,
"l": 48.235
},
"oklch": {
"l": 0.51425,
"c": 0.21932,
"h": 307.1
},
"luminance": 0.11509
}Semantic roles & 50–950 ramp
primary
#8930C6
secondary
#A2CE84
accent
#E44485
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83