#8A30C3#8A30C3
#8A30C3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.217 H 308.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A30C3 |
|---|---|
| RGB | rgb(138, 48, 195) |
| HSL | hsl(277, 60%, 48%) |
| HSV | hsv(277, 75%, 76%) |
| CMYK | cmyk(29.2%, 75.4%, 0%, 23.5%) |
| CIE-LAB | lab(40.34, 61.27, -59.89) |
| CIE-LCH | lch(40.34, 85.68, 315.65°) |
| OKLab | oklab(51.32% 0.1344 -0.1701) |
| OKLCH | oklch(51.32% 0.217 308.3) |
| XYZ | xyz(21.3865, 11.4577, 52.7041) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.03
Darkviolet
#9400D3
ΔE00 3.64
Blueviolet
#8A2BE2
ΔE00 4.22
Violet (survey)
#9A0EEA
ΔE00 5.32
Purply
#983FB2
ΔE00 5.47
Vibrant Purple
#AD03DE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A30C3 #69C330
analogous
#4130C3 #8A30C3 #C330B2
triadic
#8A30C3 #C38A30 #30C38A
tetradic
#8A30C3 #C34130 #69C330 #30B2C3
square
#8A30C3 #C34130 #69C330 #30B2C3
split-complementary
#8A30C3 #B2C330 #30C341
monochromatic
#441861 #672492 #8A30C3 #A65AD6 #C18BE2
Accessibility & contrast
On white
6.38
#8A30C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#8A30C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A30C3
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A30C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A30C3 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#815478
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a30c3; /* rgb */ color: rgb(138, 48, 195); /* oklch */ color: oklch(51.3% 0.217 308.3);
Tailwind
colors: {
custom: {
50: '#b172d6',
500: '#8a30c3',
950: '#000000',
},
}SCSS
$custom: #8a30c3; $custom-light: #b172d6; $custom-dark: #000000;
JSON
{
"hex": "#8a30c3",
"rgb": {
"r": 138,
"g": 48,
"b": 195
},
"hsl": {
"h": 276.735,
"s": 60.494,
"l": 47.647
},
"oklch": {
"l": 0.51324,
"c": 0.21673,
"h": 308.3
},
"luminance": 0.11457
}Semantic roles & 50–950 ramp
primary
#8A30C3
secondary
#9FCC82
accent
#E44482
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83