#A579F2#A579F2
#A579F2 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.176 H 298.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A579F2 |
|---|---|
| RGB | rgb(165, 121, 242) |
| HSL | hsl(262, 82%, 71%) |
| HSV | hsv(262, 50%, 95%) |
| CMYK | cmyk(31.8%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(59.97, 42.12, -54.89) |
| CIE-LCH | lch(59.97, 69.19, 307.50°) |
| OKLab | oklab(67.22% 0.0834 -0.1548) |
| OKLCH | oklch(67.22% 0.176 298.3) |
| XYZ | xyz(38.3776, 28.0845, 87.3861) |
| Luminance | 0.2808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.57
Light Purple
#BF77F6
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 4.90
Easter Purple
#C071FE
ΔE00 5.16
Periwinkle (survey)
#8E82FE
ΔE00 6.07
Liliac
#C48EFD
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A579F2 #C6F279
analogous
#7989F2 #A579F2 #E179F2
triadic
#A579F2 #F2A579 #79F2A5
tetradic
#A579F2 #F27989 #C6F279 #79F2E1
square
#A579F2 #F27989 #C6F279 #79F2E1
split-complementary
#A579F2 #F2E179 #89F279
monochromatic
#5D15DB #8041ED #A579F2 #CAB1F7 #ECE3FC
Accessibility & contrast
On white
3.17
#A579F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#A579F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A579F2
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A579F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A579F2 | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E91F6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#9590AA
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a579f2; /* rgb */ color: rgb(165, 121, 242); /* oklch */ color: oklch(67.2% 0.176 298.3);
Tailwind
colors: {
custom: {
50: '#c3a1f7',
500: '#a579f2',
950: '#000000',
},
}SCSS
$custom: #a579f2; $custom-light: #c3a1f7; $custom-dark: #000000;
JSON
{
"hex": "#a579f2",
"rgb": {
"r": 165,
"g": 121,
"b": 242
},
"hsl": {
"h": 261.818,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.67223,
"c": 0.17584,
"h": 298.3
},
"luminance": 0.28085
}Semantic roles & 50–950 ramp
primary
#A579F2
secondary
#E8F3D3
accent
#DF0790
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85