#A279FA#A279FA
#A279FA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.4% C 0.185 H 295.7°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A279FA |
|---|---|
| RGB | rgb(162, 121, 250) |
| HSL | hsl(259, 93%, 73%) |
| HSV | hsv(259, 52%, 98%) |
| CMYK | cmyk(35.2%, 51.6%, 0%, 2%) |
| CIE-LAB | lab(60.12, 43.40, -59.08) |
| CIE-LCH | lch(60.12, 73.31, 306.30°) |
| OKLab | oklab(67.42% 0.0804 -0.1671) |
| OKLCH | oklch(67.42% 0.185 295.7) |
| XYZ | xyz(38.9886, 28.2576, 93.8241) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.24
Periwinkle (survey)
#8E82FE
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.44
Easter Purple
#C071FE
ΔE00 5.72
Light Purple
#BF77F6
ΔE00 5.76
Lavender Blue
#8B88F8
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A279FA #D1FA79
analogous
#7990FA #A279FA #E379FA
triadic
#A279FA #FAA279 #79FAA2
tetradic
#A279FA #FA7990 #D1FA79 #79FAE3
square
#A279FA #FA7990 #D1FA79 #79FAE3
split-complementary
#A279FA #FAE379 #90FA79
monochromatic
#5209F0 #793EF8 #A279FA #CBB4FC #EBE2FE
Accessibility & contrast
On white
3.16
#A279FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#A279FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A279FA
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A279FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A279FA | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4692FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#8D93AE
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a279fa; /* rgb */ color: rgb(162, 121, 250); /* oklch */ color: oklch(67.4% 0.185 295.7);
Tailwind
colors: {
custom: {
50: '#c1a1fd',
500: '#a279fa',
950: '#000000',
},
}SCSS
$custom: #a279fa; $custom-light: #c1a1fd; $custom-dark: #000000;
JSON
{
"hex": "#a279fa",
"rgb": {
"r": 162,
"g": 121,
"b": 250
},
"hsl": {
"h": 259.07,
"s": 92.806,
"l": 72.745
},
"oklch": {
"l": 0.67415,
"c": 0.18544,
"h": 295.7
},
"luminance": 0.28258
}Semantic roles & 50–950 ramp
primary
#A279FA
secondary
#ECF6D5
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86