#8A2FB9#8A2FB9
#8A2FB9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.208 H 311.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2FB9 |
|---|---|
| RGB | rgb(138, 47, 185) |
| HSL | hsl(280, 59%, 45%) |
| HSV | hsv(280, 75%, 73%) |
| CMYK | cmyk(25.4%, 74.6%, 0%, 27.5%) |
| CIE-LAB | lab(39.48, 59.51, -55.43) |
| CIE-LCH | lch(39.48, 81.33, 317.04°) |
| OKLab | oklab(50.49% 0.1371 -0.1569) |
| OKLCH | oklch(50.49% 0.208 311.1) |
| XYZ | xyz(20.2530, 10.9396, 46.9342) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.82
Darkviolet
#9400D3
ΔE00 4.35
Purply
#983FB2
ΔE00 4.88
Purple (survey)
#7E1E9C
ΔE00 5.63
Blueviolet
#8A2BE2
ΔE00 5.75
Barney
#AC1DB8
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2FB9 #5EB92F
analogous
#452FB9 #8A2FB9 #B92FA3
triadic
#8A2FB9 #B98A2F #2FB98A
tetradic
#8A2FB9 #B9452F #5EB92F #2FA3B9
square
#8A2FB9 #B9452F #5EB92F #2FA3B9
split-complementary
#8A2FB9 #A3B92F #2FB945
monochromatic
#411657 #662388 #8A2FB9 #A752D3 #C083DF
Accessibility & contrast
On white
6.59
#8A2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8A2FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A2FB9
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2FB9 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#145FB6
Tritanopia (blue-blind)
#844F72
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8a2fb9; /* rgb */ color: rgb(138, 47, 185); /* oklch */ color: oklch(50.5% 0.208 311.1);
Tailwind
colors: {
custom: {
50: '#b171cf',
500: '#8a2fb9',
950: '#000000',
},
}SCSS
$custom: #8a2fb9; $custom-light: #b171cf; $custom-dark: #000000;
JSON
{
"hex": "#8a2fb9",
"rgb": {
"r": 138,
"g": 47,
"b": 185
},
"hsl": {
"h": 279.565,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.50486,
"c": 0.20837,
"h": 311.1
},
"luminance": 0.10939
}Semantic roles & 50–950 ramp
primary
#8A2FB9
secondary
#96C97B
accent
#E3457B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82