#8A79CD#8A79CD
#8A79CD is a light, vivid violet. Relative luminance 0.235; OKLCH L 62.7% C 0.125 H 291.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A79CD |
|---|---|
| RGB | rgb(138, 121, 205) |
| HSL | hsl(252, 46%, 64%) |
| HSV | hsv(252, 41%, 80%) |
| CMYK | cmyk(32.7%, 41%, 0%, 19.6%) |
| CIE-LAB | lab(55.57, 25.53, -41.29) |
| CIE-LCH | lch(55.57, 48.54, 301.73°) |
| OKLab | oklab(62.71% 0.0461 -0.1158) |
| OKLCH | oklch(62.71% 0.125 291.7) |
| XYZ | xyz(28.3352, 23.4852, 60.7860) |
| Luminance | 0.2349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.29
Deep Lilac
#966EBD
ΔE00 6.11
Perrywinkle
#8F8CE7
ΔE00 6.90
Periwinkle (survey)
#8E82FE
ΔE00 7.89
Lavender Blue
#8B88F8
ΔE00 8.05
Mediumslateblue
#7B68EE
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A79CD #BCCD79
analogous
#7992CD #8A79CD #B479CD
triadic
#8A79CD #CD8A79 #79CD8A
tetradic
#8A79CD #CD7992 #BCCD79 #79CDB4
square
#8A79CD #CD7992 #BCCD79 #79CDB4
split-complementary
#8A79CD #CDB479 #92CD79
monochromatic
#4A3794 #634CBC #8A79CD #B1A6DE #D8D2EE
Accessibility & contrast
On white
3.69
#8A79CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#8A79CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A79CD
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A79CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A79CD | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6183CB
Tritanopia (blue-blind)
#7A8899
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a79cd; /* rgb */ color: rgb(138, 121, 205); /* oklch */ color: oklch(62.7% 0.125 291.7);
Tailwind
colors: {
custom: {
50: '#aea0dc',
500: '#8a79cd',
950: '#000000',
},
}SCSS
$custom: #8a79cd; $custom-light: #aea0dc; $custom-dark: #000000;
JSON
{
"hex": "#8a79cd",
"rgb": {
"r": 138,
"g": 121,
"b": 205
},
"hsl": {
"h": 252.143,
"s": 45.652,
"l": 63.922
},
"oklch": {
"l": 0.62707,
"c": 0.12458,
"h": 291.7
},
"luminance": 0.23486
}Semantic roles & 50–950 ramp
primary
#8A79CD
secondary
#DAE0C2
accent
#B92D9C
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100E15
muted
#7F7E83