#A277F3#A277F3
#A277F3 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.180 H 297.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A277F3 |
|---|---|
| RGB | rgb(162, 119, 243) |
| HSL | hsl(261, 84%, 71%) |
| HSV | hsv(261, 51%, 95%) |
| CMYK | cmyk(33.3%, 51%, 0%, 4.7%) |
| CIE-LAB | lab(59.29, 42.74, -56.53) |
| CIE-LCH | lch(59.29, 70.87, 307.09°) |
| OKLab | oklab(66.67% 0.0824 -0.1597) |
| OKLCH | oklch(66.67% 0.18 297.3) |
| XYZ | xyz(37.6708, 27.3456, 88.0702) |
| Luminance | 0.2735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 4.50
Light Purple
#BF77F6
ΔE00 5.45
Easter Purple
#C071FE
ΔE00 5.51
Periwinkle (survey)
#8E82FE
ΔE00 5.79
Lighter Purple
#A55AF4
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A277F3 #C8F377
analogous
#778AF3 #A277F3 #E077F3
triadic
#A277F3 #F3A277 #77F3A2
tetradic
#A277F3 #F3778A #C8F377 #77F3E0
square
#A277F3 #F3778A #C8F377 #77F3E0
split-complementary
#A277F3 #F3E077 #8AF377
monochromatic
#5913DC #7C3FEE #A277F3 #C8AFF8 #ECE3FD
Accessibility & contrast
On white
3.25
#A277F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#A277F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A277F3
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A277F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A277F3 | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#538DF0
Tritanopia (blue-blind)
#908FAA
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a277f3; /* rgb */ color: rgb(162, 119, 243); /* oklch */ color: oklch(66.7% 0.180 297.3);
Tailwind
colors: {
custom: {
50: '#c19ff8',
500: '#a277f3',
950: '#000000',
},
}SCSS
$custom: #a277f3; $custom-light: #c19ff8; $custom-dark: #000000;
JSON
{
"hex": "#a277f3",
"rgb": {
"r": 162,
"g": 119,
"b": 243
},
"hsl": {
"h": 260.806,
"s": 83.784,
"l": 70.98
},
"oklch": {
"l": 0.66674,
"c": 0.17967,
"h": 297.3
},
"luminance": 0.27346
}Semantic roles & 50–950 ramp
primary
#A277F3
secondary
#E8F3D2
accent
#E00594
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85