#A176F8#A176F8
#A176F8 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.187 H 296.2°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A176F8 |
|---|---|
| RGB | rgb(161, 118, 248) |
| HSL | hsl(260, 90%, 72%) |
| HSV | hsv(260, 52%, 97%) |
| CMYK | cmyk(35.1%, 52.4%, 0%, 2.7%) |
| CIE-LAB | lab(59.26, 44.32, -59.35) |
| CIE-LCH | lch(59.26, 74.07, 306.75°) |
| OKLab | oklab(66.72% 0.0827 -0.168) |
| OKLCH | oklch(66.72% 0.187 296.2) |
| XYZ | xyz(38.1154, 27.3106, 92.0521) |
| Luminance | 0.2731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.88
Mediumpurple
#9370DB
ΔE00 4.87
Periwinkle (survey)
#8E82FE
ΔE00 5.50
Easter Purple
#C071FE
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.81
Lighter Purple
#A55AF4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A176F8 #CDF876
analogous
#768CF8 #A176F8 #E276F8
triadic
#A176F8 #F8A176 #76F8A1
tetradic
#A176F8 #F8768C #CDF876 #76F8E2
square
#A176F8 #F8768C #CDF876 #76F8E2
split-complementary
#A176F8 #F8E276 #8CF876
monochromatic
#550CE8 #793CF5 #A176F8 #C9B0FB #EBE2FE
Accessibility & contrast
On white
3.25
#A176F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A176F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A176F8
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A176F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A176F8 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#8D90AC
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a176f8; /* rgb */ color: rgb(161, 118, 248); /* oklch */ color: oklch(66.7% 0.187 296.2);
Tailwind
colors: {
custom: {
50: '#c19efb',
500: '#a176f8',
950: '#000000',
},
}SCSS
$custom: #a176f8; $custom-light: #c19efb; $custom-dark: #000000;
JSON
{
"hex": "#a176f8",
"rgb": {
"r": 161,
"g": 118,
"b": 248
},
"hsl": {
"h": 259.846,
"s": 90.278,
"l": 71.765
},
"oklch": {
"l": 0.66718,
"c": 0.18723,
"h": 296.2
},
"luminance": 0.27311
}Semantic roles & 50–950 ramp
primary
#A176F8
secondary
#EAF5D4
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85