#A281FE#A281FE
#A281FE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.179 H 293.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A281FE |
|---|---|
| RGB | rgb(162, 129, 254) |
| HSL | hsl(256, 98%, 75%) |
| HSV | hsv(256, 49%, 100%) |
| CMYK | cmyk(36.2%, 49.2%, 0%, 0.4%) |
| CIE-LAB | lab(62.11, 39.97, -58.09) |
| CIE-LCH | lch(62.11, 70.51, 304.53°) |
| OKLab | oklab(68.97% 0.0708 -0.1642) |
| OKLCH | oklch(68.97% 0.179 293.3) |
| XYZ | xyz(40.6353, 30.5368, 97.5000) |
| Luminance | 0.3054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.93
Lavender Blue
#8B88F8
ΔE00 5.36
Light Urple
#B36FF6
ΔE00 5.99
Perrywinkle
#8F8CE7
ΔE00 6.34
Light Purple
#BF77F6
ΔE00 6.65
Easter Purple
#C071FE
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A281FE #DDFE81
analogous
#819EFE #A281FE #E081FE
triadic
#A281FE #FEA281 #81FEA2
tetradic
#A281FE #FE819E #DDFE81 #81FEE0
square
#A281FE #FE819E #DDFE81 #81FEE0
split-complementary
#A281FE #FEE081 #9EFE81
monochromatic
#4808FD #7544FE #A281FE #CFBEFE #E9E1FF
Accessibility & contrast
On white
2.95
#A281FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#A281FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A281FE
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A281FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A281FE | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#8B9AB4
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a281fe; /* rgb */ color: rgb(162, 129, 254); /* oklch */ color: oklch(69.0% 0.179 293.3);
Tailwind
colors: {
custom: {
50: '#c1a6ff',
500: '#a281fe',
950: '#000000',
},
}SCSS
$custom: #a281fe; $custom-light: #c1a6ff; $custom-dark: #000000;
JSON
{
"hex": "#a281fe",
"rgb": {
"r": 162,
"g": 129,
"b": 254
},
"hsl": {
"h": 255.84,
"s": 98.425,
"l": 75.098
},
"oklch": {
"l": 0.68972,
"c": 0.17883,
"h": 293.3
},
"luminance": 0.30538
}Semantic roles & 50–950 ramp
primary
#A281FE
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86