#8A76AF#8A76AF
#8A76AF is a mid, moderate violet. Relative luminance 0.215; OKLCH L 60.6% C 0.087 H 299.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8A76AF |
|---|---|
| RGB | rgb(138, 118, 175) |
| HSL | hsl(261, 26%, 57%) |
| HSV | hsv(261, 33%, 69%) |
| CMYK | cmyk(21.1%, 32.6%, 0%, 31.4%) |
| CIE-LAB | lab(53.44, 19.73, -27.44) |
| CIE-LCH | lch(53.44, 33.80, 305.71°) |
| OKLab | oklab(60.64% 0.0436 -0.0758) |
| OKLCH | oklch(60.64% 0.087 299.9) |
| XYZ | xyz(24.6959, 21.4552, 43.3893) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 5.21
Dark Lavender
#856798
ΔE00 6.54
Faded Purple
#916E99
ΔE00 6.75
Dark Lilac
#9C6DA5
ΔE00 6.83
Wisteria
#A87DC2
ΔE00 7.03
Soft Purple
#A66FB5
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A76AF #9BAF76
analogous
#767EAF #8A76AF #A776AF
triadic
#8A76AF #AF8A76 #76AF8A
tetradic
#8A76AF #AF767E #9BAF76 #76AFA7
square
#8A76AF #AF767E #9BAF76 #76AFA7
split-complementary
#8A76AF #AFA776 #7EAF76
monochromatic
#4F3F6C #6B5592 #8A76AF #AB9DC6 #CCC3DC
Accessibility & contrast
On white
3.97
#8A76AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#8A76AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A76AF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A76AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A76AF | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6980B1
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#837F8B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a76af; /* rgb */ color: rgb(138, 118, 175); /* oklch */ color: oklch(60.6% 0.087 299.9);
Tailwind
colors: {
custom: {
50: '#ad9dc7',
500: '#8a76af',
950: '#000000',
},
}SCSS
$custom: #8a76af; $custom-light: #ad9dc7; $custom-dark: #000000;
JSON
{
"hex": "#8a76af",
"rgb": {
"r": 138,
"g": 118,
"b": 175
},
"hsl": {
"h": 261.053,
"s": 26.267,
"l": 57.451
},
"oklch": {
"l": 0.60637,
"c": 0.08747,
"h": 299.9
},
"luminance": 0.21455
}Semantic roles & 50–950 ramp
primary
#8A76AF
secondary
#C4CCB5
accent
#C365A2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82