#A277F6#A277F6
#A277F6 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.183 H 296.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A277F6 |
|---|---|
| RGB | rgb(162, 119, 246) |
| HSL | hsl(260, 88%, 72%) |
| HSV | hsv(260, 52%, 96%) |
| CMYK | cmyk(34.1%, 51.6%, 0%, 3.5%) |
| CIE-LAB | lab(59.46, 43.49, -57.92) |
| CIE-LCH | lch(59.46, 72.44, 306.90°) |
| OKLab | oklab(66.85% 0.0826 -0.1637) |
| OKLCH | oklch(66.85% 0.183 296.8) |
| XYZ | xyz(38.1275, 27.5283, 90.4756) |
| Luminance | 0.2753 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.77
Mediumpurple
#9370DB
ΔE00 4.81
Easter Purple
#C071FE
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.54
Periwinkle (survey)
#8E82FE
ΔE00 5.59
Lighter Purple
#A55AF4
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A277F6 #CBF677
analogous
#778CF6 #A277F6 #E277F6
triadic
#A277F6 #F6A277 #77F6A2
tetradic
#A277F6 #F6778C #CBF677 #77F6E2
square
#A277F6 #F6778C #CBF677 #77F6E2
split-complementary
#A277F6 #F6E277 #8CF677
monochromatic
#570FE4 #7B3EF2 #A277F6 #C9B0FA #EBE2FD
Accessibility & contrast
On white
3.23
#A277F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#A277F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A277F6
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A277F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A277F6 | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4690FA
Deuteranopia (green-blind)
#518EF3
Tritanopia (blue-blind)
#8F90AB
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a277f6; /* rgb */ color: rgb(162, 119, 246); /* oklch */ color: oklch(66.9% 0.183 296.8);
Tailwind
colors: {
custom: {
50: '#c19ffa',
500: '#a277f6',
950: '#000000',
},
}SCSS
$custom: #a277f6; $custom-light: #c19ffa; $custom-dark: #000000;
JSON
{
"hex": "#a277f6",
"rgb": {
"r": 162,
"g": 119,
"b": 246
},
"hsl": {
"h": 260.315,
"s": 87.586,
"l": 71.569
},
"oklch": {
"l": 0.66852,
"c": 0.18339,
"h": 296.8
},
"luminance": 0.27529
}Semantic roles & 50–950 ramp
primary
#A277F6
secondary
#EAF5D4
accent
#E40197
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85