#8A30C0#8A30C0
#8A30C0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.214 H 309.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A30C0 |
|---|---|
| RGB | rgb(138, 48, 192) |
| HSL | hsl(278, 60%, 47%) |
| HSV | hsv(278, 75%, 75%) |
| CMYK | cmyk(28.1%, 75%, 0%, 24.7%) |
| CIE-LAB | lab(40.12, 60.62, -58.50) |
| CIE-LCH | lch(40.12, 84.24, 316.02°) |
| OKLab | oklab(51.1% 0.1349 -0.166) |
| OKLCH | oklch(51.1% 0.214 309.1) |
| XYZ | xyz(21.0507, 11.3233, 50.9356) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.19
Darkviolet
#9400D3
ΔE00 3.83
Blueviolet
#8A2BE2
ΔE00 4.67
Purply
#983FB2
ΔE00 5.24
Violet (survey)
#9A0EEA
ΔE00 5.69
Vibrant Purple
#AD03DE
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A30C0 #66C030
analogous
#4230C0 #8A30C0 #C030AE
triadic
#8A30C0 #C08A30 #30C08A
tetradic
#8A30C0 #C04230 #66C030 #30AEC0
square
#8A30C0 #C04230 #66C030 #30AEC0
split-complementary
#8A30C0 #AEC030 #30C042
monochromatic
#44185E #67248F #8A30C0 #A658D5 #C089E1
Accessibility & contrast
On white
6.43
#8A30C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#8A30C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A30C0
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A30C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A30C0 | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#825276
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a30c0; /* rgb */ color: rgb(138, 48, 192); /* oklch */ color: oklch(51.1% 0.214 309.1);
Tailwind
colors: {
custom: {
50: '#b172d4',
500: '#8a30c0',
950: '#000000',
},
}SCSS
$custom: #8a30c0; $custom-light: #b172d4; $custom-dark: #000000;
JSON
{
"hex": "#8a30c0",
"rgb": {
"r": 138,
"g": 48,
"b": 192
},
"hsl": {
"h": 277.5,
"s": 60,
"l": 47.059
},
"oklch": {
"l": 0.51098,
"c": 0.21388,
"h": 309.1
},
"luminance": 0.11323
}Semantic roles & 50–950 ramp
primary
#8A30C0
secondary
#9DCB80
accent
#E34580
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83