#A277FB#A277FB
#A277FB is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.2% C 0.190 H 295.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A277FB |
|---|---|
| RGB | rgb(162, 119, 251) |
| HSL | hsl(260, 94%, 73%) |
| HSV | hsv(260, 53%, 98%) |
| CMYK | cmyk(35.5%, 52.6%, 0%, 1.6%) |
| CIE-LAB | lab(59.74, 44.76, -60.23) |
| CIE-LCH | lch(59.74, 75.04, 306.62°) |
| OKLab | oklab(67.15% 0.0829 -0.1705) |
| OKLCH | oklch(67.15% 0.19 295.9) |
| XYZ | xyz(38.9053, 27.8394, 94.5719) |
| Luminance | 0.2784 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.99
Periwinkle (survey)
#8E82FE
ΔE00 5.32
Mediumpurple
#9370DB
ΔE00 5.36
Easter Purple
#C071FE
ΔE00 5.57
Light Purple
#BF77F6
ΔE00 5.76
Lighter Purple
#A55AF4
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A277FB #D0FB77
analogous
#778EFB #A277FB #E477FB
triadic
#A277FB #FBA277 #77FBA2
tetradic
#A277FB #FB778E #D0FB77 #77FBE4
square
#A277FB #FB778E #D0FB77 #77FBE4
split-complementary
#A277FB #FBE477 #8EFB77
monochromatic
#5307F1 #793CF9 #A277FB #CBB2FD #EBE1FE
Accessibility & contrast
On white
3.20
#A277FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#A277FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A277FB
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A277FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A277FB | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#8D92AE
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a277fb; /* rgb */ color: rgb(162, 119, 251); /* oklch */ color: oklch(67.2% 0.190 295.9);
Tailwind
colors: {
custom: {
50: '#c29ffd',
500: '#a277fb',
950: '#000000',
},
}SCSS
$custom: #a277fb; $custom-light: #c29ffd; $custom-dark: #000000;
JSON
{
"hex": "#a277fb",
"rgb": {
"r": 162,
"g": 119,
"b": 251
},
"hsl": {
"h": 259.545,
"s": 94.286,
"l": 72.549
},
"oklch": {
"l": 0.67153,
"c": 0.18959,
"h": 295.9
},
"luminance": 0.2784
}Semantic roles & 50–950 ramp
primary
#A277FB
secondary
#EBF6D5
accent
#E6009B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86