#8A2CC9#8A2CC9
#8A2CC9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.226 H 307.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A2CC9 |
|---|---|
| RGB | rgb(138, 44, 201) |
| HSL | hsl(276, 64%, 48%) |
| HSV | hsv(276, 78%, 79%) |
| CMYK | cmyk(31.3%, 78.1%, 0%, 21.2%) |
| CIE-LAB | lab(40.28, 64.04, -63.48) |
| CIE-LCH | lch(40.28, 90.17, 315.25°) |
| OKLab | oklab(51.43% 0.1364 -0.1806) |
| OKLCH | oklch(51.43% 0.226 307.1) |
| XYZ | xyz(21.9223, 11.4220, 56.2968) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.94
Darkorchid
#9932CC
ΔE00 3.19
Blueviolet
#8A2BE2
ΔE00 3.41
Violet (survey)
#9A0EEA
ΔE00 4.55
Vibrant Purple
#AD03DE
ΔE00 5.81
Vivid Purple
#9900FA
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A2CC9 #6BC92C
analogous
#3C2CC9 #8A2CC9 #C92CB9
triadic
#8A2CC9 #C98A2C #2CC98A
tetradic
#8A2CC9 #C93C2C #6BC92C #2CB9C9
square
#8A2CC9 #C93C2C #6BC92C #2CB9C9
split-complementary
#8A2CC9 #B9C92C #2CC93C
monochromatic
#451665 #682197 #8A2CC9 #A658DA #C18AE5
Accessibility & contrast
On white
6.39
#8A2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8A2CC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A2CC9
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A2CC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A2CC9 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#7F547A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8a2cc9; /* rgb */ color: rgb(138, 44, 201); /* oklch */ color: oklch(51.4% 0.226 307.1);
Tailwind
colors: {
custom: {
50: '#b270da',
500: '#8a2cc9',
950: '#000000',
},
}SCSS
$custom: #8a2cc9; $custom-light: #b270da; $custom-dark: #000000;
JSON
{
"hex": "#8a2cc9",
"rgb": {
"r": 138,
"g": 44,
"b": 201
},
"hsl": {
"h": 275.924,
"s": 64.082,
"l": 48.039
},
"oklch": {
"l": 0.51425,
"c": 0.22633,
"h": 307.1
},
"luminance": 0.11422
}Semantic roles & 50–950 ramp
primary
#8A2CC9
secondary
#A1CF82
accent
#E74183
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83