#8A25C6#8A25C6
#8A25C6 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.230 H 308.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A25C6 |
|---|---|
| RGB | rgb(138, 37, 198) |
| HSL | hsl(278, 69%, 46%) |
| HSV | hsv(278, 81%, 78%) |
| CMYK | cmyk(30.3%, 81.3%, 0%, 22.4%) |
| CIE-LAB | lab(39.25, 65.72, -63.42) |
| CIE-LCH | lch(39.25, 91.33, 316.02°) |
| OKLab | oklab(50.63% 0.1424 -0.1803) |
| OKLCH | oklch(50.63% 0.23 308.3) |
| XYZ | xyz(21.3337, 10.8040, 54.3766) |
| Luminance | 0.1080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 2.46
Darkorchid
#9932CC
ΔE00 3.86
Blueviolet
#8A2BE2
ΔE00 4.12
Violet (survey)
#9A0EEA
ΔE00 4.94
Vibrant Purple
#AD03DE
ΔE00 6.10
Vivid Purple
#9900FA
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A25C6 #61C625
analogous
#3925C6 #8A25C6 #C625B1
triadic
#8A25C6 #C68A25 #25C68A
tetradic
#8A25C6 #C63925 #61C625 #25B1C6
square
#8A25C6 #C63925 #61C625 #25B1C6
split-complementary
#8A25C6 #B1C625 #25C639
monochromatic
#42125F #661B92 #8A25C6 #A74BDD #C07EE7
Accessibility & contrast
On white
6.64
#8A25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#8A25C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A25C6
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A25C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A25C6 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#805077
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8a25c6; /* rgb */ color: rgb(138, 37, 198); /* oklch */ color: oklch(50.6% 0.230 308.3);
Tailwind
colors: {
custom: {
50: '#b26dd8',
500: '#8a25c6',
950: '#000000',
},
}SCSS
$custom: #8a25c6; $custom-light: #b26dd8; $custom-dark: #000000;
JSON
{
"hex": "#8a25c6",
"rgb": {
"r": 138,
"g": 37,
"b": 198
},
"hsl": {
"h": 277.64,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.5063,
"c": 0.22982,
"h": 308.3
},
"luminance": 0.10804
}Semantic roles & 50–950 ramp
primary
#8A25C6
secondary
#98CF77
accent
#EB3C7E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83