#8A2FC3#8A2FC3
#8A2FC3 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.218 H 308.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2FC3 |
|---|---|
| RGB | rgb(138, 47, 195) |
| HSL | hsl(277, 61%, 47%) |
| HSV | hsv(277, 76%, 76%) |
| CMYK | cmyk(29.2%, 75.9%, 0%, 23.5%) |
| CIE-LAB | lab(40.21, 61.65, -60.11) |
| CIE-LCH | lch(40.21, 86.10, 315.72°) |
| OKLab | oklab(51.23% 0.1352 -0.1707) |
| OKLCH | oklch(51.23% 0.218 308.4) |
| XYZ | xyz(21.3460, 11.3768, 52.6906) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.10
Darkviolet
#9400D3
ΔE00 3.52
Blueviolet
#8A2BE2
ΔE00 4.23
Violet (survey)
#9A0EEA
ΔE00 5.30
Purply
#983FB2
ΔE00 5.56
Vibrant Purple
#AD03DE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2FC3 #68C32F
analogous
#402FC3 #8A2FC3 #C32FB2
triadic
#8A2FC3 #C38A2F #2FC38A
tetradic
#8A2FC3 #C3402F #68C32F #2FB2C3
square
#8A2FC3 #C3402F #68C32F #2FB2C3
split-complementary
#8A2FC3 #B2C32F #2FC340
monochromatic
#441760 #672392 #8A2FC3 #A658D7 #C08AE3
Accessibility & contrast
On white
6.41
#8A2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8A2FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A2FC3
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2FC3 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#815378
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a2fc3; /* rgb */ color: rgb(138, 47, 195); /* oklch */ color: oklch(51.2% 0.218 308.4);
Tailwind
colors: {
custom: {
50: '#b171d6',
500: '#8a2fc3',
950: '#000000',
},
}SCSS
$custom: #8a2fc3; $custom-light: #b171d6; $custom-dark: #000000;
JSON
{
"hex": "#8a2fc3",
"rgb": {
"r": 138,
"g": 47,
"b": 195
},
"hsl": {
"h": 276.892,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.5123,
"c": 0.21777,
"h": 308.4
},
"luminance": 0.11376
}Semantic roles & 50–950 ramp
primary
#8A2FC3
secondary
#9ECD81
accent
#E44481
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83