#A281F9#A281F9
#A281F9 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.7% C 0.172 H 294.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A281F9 |
|---|---|
| RGB | rgb(162, 129, 249) |
| HSL | hsl(257, 91%, 74%) |
| HSV | hsv(257, 48%, 98%) |
| CMYK | cmyk(34.9%, 48.2%, 0%, 2.4%) |
| CIE-LAB | lab(61.84, 38.67, -55.78) |
| CIE-LCH | lch(61.84, 67.87, 304.74°) |
| OKLab | oklab(68.68% 0.0703 -0.1575) |
| OKLCH | oklch(68.68% 0.172 294.1) |
| XYZ | xyz(39.8450, 30.2207, 93.3381) |
| Luminance | 0.3022 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.18
Lavender Blue
#8B88F8
ΔE00 5.48
Light Urple
#B36FF6
ΔE00 5.82
Perrywinkle
#8F8CE7
ΔE00 6.12
Light Purple
#BF77F6
ΔE00 6.43
Mediumpurple
#9370DB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A281F9 #D8F981
analogous
#819CF9 #A281F9 #DE81F9
triadic
#A281F9 #F9A281 #81F9A2
tetradic
#A281F9 #F9819C #D8F981 #81F9DE
square
#A281F9 #F9819C #D8F981 #81F9DE
split-complementary
#A281F9 #F9DE81 #9CF981
monochromatic
#4C0CF3 #7747F6 #A281F9 #CDBBFC #E9E2FE
Accessibility & contrast
On white
2.98
#A281F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#A281F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A281F9
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A281F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A281F9 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#8D98B1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a281f9; /* rgb */ color: rgb(162, 129, 249); /* oklch */ color: oklch(68.7% 0.172 294.1);
Tailwind
colors: {
custom: {
50: '#c1a6fc',
500: '#a281f9',
950: '#000000',
},
}SCSS
$custom: #a281f9; $custom-light: #c1a6fc; $custom-dark: #000000;
JSON
{
"hex": "#a281f9",
"rgb": {
"r": 162,
"g": 129,
"b": 249
},
"hsl": {
"h": 256.5,
"s": 90.909,
"l": 74.118
},
"oklch": {
"l": 0.68682,
"c": 0.17244,
"h": 294.1
},
"luminance": 0.30221
}Semantic roles & 50–950 ramp
primary
#A281F9
secondary
#EDF6D5
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85