#A279F7#A279F7
#A279F7 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.2% C 0.182 H 296.2°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A279F7 |
|---|---|
| RGB | rgb(162, 121, 247) |
| HSL | hsl(260, 89%, 72%) |
| HSV | hsv(260, 51%, 97%) |
| CMYK | cmyk(34.4%, 51%, 0%, 3.1%) |
| CIE-LAB | lab(59.95, 42.64, -57.69) |
| CIE-LCH | lch(59.95, 71.74, 306.47°) |
| OKLab | oklab(67.24% 0.0802 -0.1631) |
| OKLCH | oklch(67.24% 0.182 296.2) |
| XYZ | xyz(38.5219, 28.0709, 91.3663) |
| Luminance | 0.2807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.12
Mediumpurple
#9370DB
ΔE00 5.12
Periwinkle (survey)
#8E82FE
ΔE00 5.21
Light Purple
#BF77F6
ΔE00 5.63
Easter Purple
#C071FE
ΔE00 5.68
Lavender Blue
#8B88F8
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A279F7 #CEF779
analogous
#798FF7 #A279F7 #E179F7
triadic
#A279F7 #F7A279 #79F7A2
tetradic
#A279F7 #F7798F #CEF779 #79F7E1
square
#A279F7 #F7798F #CEF779 #79F7E1
split-complementary
#A279F7 #F7E179 #8FF779
monochromatic
#550EE8 #7A3FF4 #A279F7 #CAB3FA #EBE2FD
Accessibility & contrast
On white
3.17
#A279F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#A279F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A279F7
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A279F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A279F7 | 1.00 | 3.17 | 6.61 | 6.61 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4991FB
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#8F92AD
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a279f7; /* rgb */ color: rgb(162, 121, 247); /* oklch */ color: oklch(67.2% 0.182 296.2);
Tailwind
colors: {
custom: {
50: '#c1a0fa',
500: '#a279f7',
950: '#000000',
},
}SCSS
$custom: #a279f7; $custom-light: #c1a0fa; $custom-dark: #000000;
JSON
{
"hex": "#a279f7",
"rgb": {
"r": 162,
"g": 121,
"b": 247
},
"hsl": {
"h": 259.524,
"s": 88.732,
"l": 72.157
},
"oklch": {
"l": 0.67236,
"c": 0.1817,
"h": 296.2
},
"luminance": 0.28072
}Semantic roles & 50–950 ramp
primary
#A279F7
secondary
#EBF5D6
accent
#E5009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F17
muted
#827E85