#8A4BAF#8A4BAF
#8A4BAF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.160 H 311.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4BAF |
|---|---|
| RGB | rgb(138, 75, 175) |
| HSL | hsl(278, 40%, 49%) |
| HSV | hsv(278, 57%, 69%) |
| CMYK | cmyk(21.1%, 57.1%, 0%, 31.4%) |
| CIE-LAB | lab(43.55, 44.30, -42.99) |
| CIE-LCH | lch(43.55, 61.73, 315.86°) |
| OKLab | oklab(53.22% 0.1056 -0.1206) |
| OKLCH | oklch(53.22% 0.16 311.2) |
| XYZ | xyz(20.7338, 13.5310, 42.0686) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.42
Royal Purple
#7851A9
ΔE00 4.09
Deep Lavender
#8D5EB7
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 5.64
Darkorchid
#9932CC
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4BAF #70AF4B
analogous
#584BAF #8A4BAF #AF4BA2
triadic
#8A4BAF #AF8A4B #4BAF8A
tetradic
#8A4BAF #AF584B #70AF4B #4BA2AF
square
#8A4BAF #AF584B #70AF4B #4BA2AF
split-complementary
#8A4BAF #A2AF4B #4BAF58
monochromatic
#462659 #683984 #8A4BAF #A674C3 #C19FD6
Accessibility & contrast
On white
5.67
#8A4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8A4BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4BAF
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4BAF | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#865D76
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a4baf; /* rgb */ color: rgb(138, 75, 175); /* oklch */ color: oklch(53.2% 0.160 311.2);
Tailwind
colors: {
custom: {
50: '#af80c7',
500: '#8a4baf',
950: '#000000',
},
}SCSS
$custom: #8a4baf; $custom-light: #af80c7; $custom-dark: #000000;
JSON
{
"hex": "#8a4baf",
"rgb": {
"r": 138,
"g": 75,
"b": 175
},
"hsl": {
"h": 277.8,
"s": 40,
"l": 49.02
},
"oklch": {
"l": 0.53216,
"c": 0.16033,
"h": 311.2
},
"luminance": 0.13531
}Semantic roles & 50–950 ramp
primary
#8A4BAF
secondary
#A5C293
accent
#D05884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82