#A277EF#A277EF
#A277EF is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.4% C 0.175 H 298.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A277EF |
|---|---|
| RGB | rgb(162, 119, 239) |
| HSL | hsl(262, 79%, 70%) |
| HSV | hsv(262, 50%, 94%) |
| CMYK | cmyk(32.2%, 50.2%, 0%, 6.3%) |
| CIE-LAB | lab(59.07, 41.73, -54.66) |
| CIE-LCH | lch(59.07, 68.77, 307.36°) |
| OKLab | oklab(66.44% 0.0821 -0.1542) |
| OKLCH | oklch(66.44% 0.175 298) |
| XYZ | xyz(37.0733, 27.1066, 84.9235) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.69
Mediumpurple
#9370DB
ΔE00 4.13
Light Purple
#BF77F6
ΔE00 5.37
Easter Purple
#C071FE
ΔE00 5.57
Periwinkle (survey)
#8E82FE
ΔE00 6.11
Lighter Purple
#A55AF4
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A277EF #C4EF77
analogous
#7788EF #A277EF #DE77EF
triadic
#A277EF #EFA277 #77EFA2
tetradic
#A277EF #EF7788 #C4EF77 #77EFDE
square
#A277EF #EF7788 #C4EF77 #77EFDE
split-complementary
#A277EF #EFDE77 #88EF77
monochromatic
#5B19D3 #7D40E9 #A277EF #C7AEF5 #ECE4FC
Accessibility & contrast
On white
3.27
#A277EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A277EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A277EF
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A277EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A277EF | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8EF3
Deuteranopia (green-blind)
#578DEC
Tritanopia (blue-blind)
#918EA8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a277ef; /* rgb */ color: rgb(162, 119, 239); /* oklch */ color: oklch(66.4% 0.175 298.0);
Tailwind
colors: {
custom: {
50: '#c19ff5',
500: '#a277ef',
950: '#000000',
},
}SCSS
$custom: #a277ef; $custom-light: #c19ff5; $custom-dark: #000000;
JSON
{
"hex": "#a277ef",
"rgb": {
"r": 162,
"g": 119,
"b": 239
},
"hsl": {
"h": 261.5,
"s": 78.947,
"l": 70.196
},
"oklch": {
"l": 0.66439,
"c": 0.17469,
"h": 298
},
"luminance": 0.27107
}Semantic roles & 50–950 ramp
primary
#A277EF
secondary
#E6F2D0
accent
#DB0A90
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85