#A279FB#A279FB
#A279FB is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.5% C 0.187 H 295.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A279FB |
|---|---|
| RGB | rgb(162, 121, 251) |
| HSL | hsl(259, 94%, 73%) |
| HSV | hsv(259, 52%, 98%) |
| CMYK | cmyk(35.5%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(60.18, 43.66, -59.54) |
| CIE-LCH | lch(60.18, 73.83, 306.25°) |
| OKLab | oklab(67.47% 0.0804 -0.1685) |
| OKLCH | oklch(67.47% 0.187 295.5) |
| XYZ | xyz(39.1458, 28.3205, 94.6520) |
| Luminance | 0.2832 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.29
Periwinkle (survey)
#8E82FE
ΔE00 5.00
Mediumpurple
#9370DB
ΔE00 5.55
Easter Purple
#C071FE
ΔE00 5.74
Light Purple
#BF77F6
ΔE00 5.81
Lavender Blue
#8B88F8
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A279FB #D2FB79
analogous
#7991FB #A279FB #E379FB
triadic
#A279FB #FBA279 #79FBA2
tetradic
#A279FB #FB7991 #D2FB79 #79FBE3
square
#A279FB #FB7991 #D2FB79 #79FBE3
split-complementary
#A279FB #FBE379 #91FB79
monochromatic
#5107F2 #793EF9 #A279FB #CBB4FD #EAE1FE
Accessibility & contrast
On white
3.15
#A279FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#A279FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A279FB
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A279FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A279FB | 1.00 | 3.15 | 6.66 | 6.66 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#8D93AF
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a279fb; /* rgb */ color: rgb(162, 121, 251); /* oklch */ color: oklch(67.5% 0.187 295.5);
Tailwind
colors: {
custom: {
50: '#c2a1fd',
500: '#a279fb',
950: '#000000',
},
}SCSS
$custom: #a279fb; $custom-light: #c2a1fd; $custom-dark: #000000;
JSON
{
"hex": "#a279fb",
"rgb": {
"r": 162,
"g": 121,
"b": 251
},
"hsl": {
"h": 258.923,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.67475,
"c": 0.18668,
"h": 295.5
},
"luminance": 0.28321
}Semantic roles & 50–950 ramp
primary
#A279FB
secondary
#ECF6D5
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86