#A181FE#A181FE
#A181FE is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.179 H 292.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A181FE |
|---|---|
| RGB | rgb(161, 129, 254) |
| HSL | hsl(255, 98%, 75%) |
| HSV | hsv(255, 49%, 100%) |
| CMYK | cmyk(36.6%, 49.2%, 0%, 0.4%) |
| CIE-LAB | lab(62.03, 39.72, -58.24) |
| CIE-LCH | lch(62.03, 70.50, 304.30°) |
| OKLab | oklab(68.88% 0.0696 -0.1647) |
| OKLCH | oklch(68.88% 0.179 292.9) |
| XYZ | xyz(40.4329, 30.4324, 97.4905) |
| Luminance | 0.3043 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.73
Lavender Blue
#8B88F8
ΔE00 5.19
Light Urple
#B36FF6
ΔE00 6.13
Perrywinkle
#8F8CE7
ΔE00 6.22
Light Purple
#BF77F6
ΔE00 6.83
Mediumpurple
#9370DB
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A181FE #DEFE81
analogous
#819FFE #A181FE #DF81FE
triadic
#A181FE #FEA181 #81FEA1
tetradic
#A181FE #FE819F #DEFE81 #81FEDF
square
#A181FE #FE819F #DEFE81 #81FEDF
split-complementary
#A181FE #FEDF81 #9FFE81
monochromatic
#4608FD #7444FE #A181FE #CEBEFE #E8E1FF
Accessibility & contrast
On white
2.96
#A181FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.09
#A181FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A181FE
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A181FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A181FE | 1.00 | 2.96 | 7.09 | 7.09 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#5694FB
Tritanopia (blue-blind)
#8A9AB4
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a181fe; /* rgb */ color: rgb(161, 129, 254); /* oklch */ color: oklch(68.9% 0.179 292.9);
Tailwind
colors: {
custom: {
50: '#c1a6ff',
500: '#a181fe',
950: '#000000',
},
}SCSS
$custom: #a181fe; $custom-light: #c1a6ff; $custom-dark: #000000;
JSON
{
"hex": "#a181fe",
"rgb": {
"r": 161,
"g": 129,
"b": 254
},
"hsl": {
"h": 255.36,
"s": 98.425,
"l": 75.098
},
"oklch": {
"l": 0.68884,
"c": 0.17879,
"h": 292.9
},
"luminance": 0.30433
}Semantic roles & 50–950 ramp
primary
#A181FE
secondary
#EEF7D4
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86