#A281F7#A281F7
#A281F7 is a light, vivid violet. Relative luminance 0.301; OKLCH L 68.6% C 0.170 H 294.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A281F7 |
|---|---|
| RGB | rgb(162, 129, 247) |
| HSL | hsl(257, 88%, 74%) |
| HSV | hsv(257, 48%, 97%) |
| CMYK | cmyk(34.4%, 47.8%, 0%, 3.1%) |
| CIE-LAB | lab(61.74, 38.16, -54.84) |
| CIE-LCH | lch(61.74, 66.81, 304.83°) |
| OKLab | oklab(68.57% 0.0701 -0.1547) |
| OKLCH | oklch(68.57% 0.17 294.4) |
| XYZ | xyz(39.5347, 30.0966, 91.7039) |
| Luminance | 0.3010 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.32
Lavender Blue
#8B88F8
ΔE00 5.56
Light Urple
#B36FF6
ΔE00 5.77
Perrywinkle
#8F8CE7
ΔE00 6.06
Mediumpurple
#9370DB
ΔE00 6.34
Light Purple
#BF77F6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A281F7 #D6F781
analogous
#819BF7 #A281F7 #DD81F7
triadic
#A281F7 #F7A281 #81F7A2
tetradic
#A281F7 #F7819B #D6F781 #81F7DD
square
#A281F7 #F7819B #D6F781 #81F7DD
split-complementary
#A281F7 #F7DD81 #9BF781
monochromatic
#4E0FEE #7847F3 #A281F7 #CCBBFB #EAE2FD
Accessibility & contrast
On white
2.99
#A281F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#A281F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A281F7
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A281F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A281F7 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#5D93F4
Tritanopia (blue-blind)
#8E98B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a281f7; /* rgb */ color: rgb(162, 129, 247); /* oklch */ color: oklch(68.6% 0.170 294.4);
Tailwind
colors: {
custom: {
50: '#c1a6fa',
500: '#a281f7',
950: '#000000',
},
}SCSS
$custom: #a281f7; $custom-light: #c1a6fa; $custom-dark: #000000;
JSON
{
"hex": "#a281f7",
"rgb": {
"r": 162,
"g": 129,
"b": 247
},
"hsl": {
"h": 256.78,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.68568,
"c": 0.16987,
"h": 294.4
},
"luminance": 0.30097
}Semantic roles & 50–950 ramp
primary
#A281F7
secondary
#ECF5D6
accent
#E501A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85