#8A79AF#8A79AF
#8A79AF is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.2% C 0.082 H 298.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A79AF |
|---|---|
| RGB | rgb(138, 121, 175) |
| HSL | hsl(259, 25%, 58%) |
| HSV | hsv(259, 31%, 69%) |
| CMYK | cmyk(21.1%, 30.9%, 0%, 31.4%) |
| CIE-LAB | lab(54.21, 17.96, -26.26) |
| CIE-LCH | lch(54.21, 31.82, 304.38°) |
| OKLab | oklab(61.22% 0.0392 -0.0724) |
| OKLCH | oklch(61.22% 0.082 298.4) |
| XYZ | xyz(25.0548, 22.1730, 43.5090) |
| Luminance | 0.2217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 6.15
Faded Purple
#916E99
ΔE00 7.15
Wisteria
#A87DC2
ΔE00 7.16
Dark Lavender
#856798
ΔE00 7.30
Dark Lilac
#9C6DA5
ΔE00 7.50
Greyish Purple
#887191
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A79AF #9EAF79
analogous
#7983AF #8A79AF #A579AF
triadic
#8A79AF #AF8A79 #79AF8A
tetradic
#8A79AF #AF7983 #9EAF79 #79AFA5
square
#8A79AF #AF7983 #9EAF79 #79AFA5
split-complementary
#8A79AF #AFA579 #83AF79
monochromatic
#4F416D #6A5893 #8A79AF #AB9FC6 #CDC6DD
Accessibility & contrast
On white
3.86
#8A79AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#8A79AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A79AF
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A79AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A79AF | 1.00 | 3.86 | 5.43 | 5.43 |
| #FFFFFF | 3.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D82B1
Deuteranopia (green-blind)
#6F81AD
Tritanopia (blue-blind)
#83818C
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #8a79af; /* rgb */ color: rgb(138, 121, 175); /* oklch */ color: oklch(61.2% 0.082 298.4);
Tailwind
colors: {
custom: {
50: '#ad9fc7',
500: '#8a79af',
950: '#000000',
},
}SCSS
$custom: #8a79af; $custom-light: #ad9fc7; $custom-dark: #000000;
JSON
{
"hex": "#8a79af",
"rgb": {
"r": 138,
"g": 121,
"b": 175
},
"hsl": {
"h": 258.889,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.61224,
"c": 0.08235,
"h": 298.4
},
"luminance": 0.22173
}Semantic roles & 50–950 ramp
primary
#8A79AF
secondary
#C6CDB7
accent
#C266A5
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82