#8A4FAF#8A4FAF
#8A4FAF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.154 H 310.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FAF |
|---|---|
| RGB | rgb(138, 79, 175) |
| HSL | hsl(277, 38%, 50%) |
| HSV | hsv(277, 55%, 69%) |
| CMYK | cmyk(21.1%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(44.36, 42.15, -41.70) |
| CIE-LCH | lch(44.36, 59.29, 315.31°) |
| OKLab | oklab(53.81% 0.1002 -0.1169) |
| OKLCH | oklch(53.81% 0.154 310.6) |
| XYZ | xyz(21.0136, 14.0908, 42.1619) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.84
Purply
#983FB2
ΔE00 4.15
Deep Lavender
#8D5EB7
ΔE00 4.42
Medium Purple
#9E43A2
ΔE00 5.89
Amethyst
#9B5FC0
ΔE00 6.16
Darkorchid
#9932CC
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FAF #74AF4F
analogous
#5A4FAF #8A4FAF #AF4FA4
triadic
#8A4FAF #AF8A4F #4FAF8A
tetradic
#8A4FAF #AF5A4F #74AF4F #4FA4AF
square
#8A4FAF #AF5A4F #74AF4F #4FA4AF
split-complementary
#8A4FAF #A4AF4F #4FAF5A
monochromatic
#47295B #693C85 #8A4FAF #A679C2 #C2A3D5
Accessibility & contrast
On white
5.50
#8A4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#8A4FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FAF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FAF | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#856077
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4faf; /* rgb */ color: rgb(138, 79, 175); /* oklch */ color: oklch(53.8% 0.154 310.6);
Tailwind
colors: {
custom: {
50: '#af83c7',
500: '#8a4faf',
950: '#000000',
},
}SCSS
$custom: #8a4faf; $custom-light: #af83c7; $custom-dark: #000000;
JSON
{
"hex": "#8a4faf",
"rgb": {
"r": 138,
"g": 79,
"b": 175
},
"hsl": {
"h": 276.875,
"s": 37.795,
"l": 49.804
},
"oklch": {
"l": 0.5381,
"c": 0.15397,
"h": 310.6
},
"luminance": 0.1409
}Semantic roles & 50–950 ramp
primary
#8A4FAF
secondary
#A8C397
accent
#CE5A87
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82