#A281F8#A281F8
#A281F8 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.6% C 0.171 H 294.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A281F8 |
|---|---|
| RGB | rgb(162, 129, 248) |
| HSL | hsl(257, 89%, 74%) |
| HSV | hsv(257, 48%, 97%) |
| CMYK | cmyk(34.7%, 48%, 0%, 2.7%) |
| CIE-LAB | lab(61.79, 38.42, -55.31) |
| CIE-LCH | lch(61.79, 67.34, 304.78°) |
| OKLab | oklab(68.63% 0.0702 -0.1561) |
| OKLCH | oklch(68.63% 0.171 294.2) |
| XYZ | xyz(39.6895, 30.1584, 92.5188) |
| Luminance | 0.3016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.25
Lavender Blue
#8B88F8
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.80
Perrywinkle
#8F8CE7
ΔE00 6.09
Light Purple
#BF77F6
ΔE00 6.39
Mediumpurple
#9370DB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A281F8 #D7F881
analogous
#819CF8 #A281F8 #DE81F8
triadic
#A281F8 #F8A281 #81F8A2
tetradic
#A281F8 #F8819C #D7F881 #81F8DE
square
#A281F8 #F8819C #D7F881 #81F8DE
split-complementary
#A281F8 #F8DE81 #9CF881
monochromatic
#4D0DF1 #7747F5 #A281F8 #CDBBFB #EAE2FD
Accessibility & contrast
On white
2.99
#A281F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#A281F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A281F8
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A281F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A281F8 | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#8E98B1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a281f8; /* rgb */ color: rgb(162, 129, 248); /* oklch */ color: oklch(68.6% 0.171 294.2);
Tailwind
colors: {
custom: {
50: '#c1a6fb',
500: '#a281f8',
950: '#000000',
},
}SCSS
$custom: #a281f8; $custom-light: #c1a6fb; $custom-dark: #000000;
JSON
{
"hex": "#a281f8",
"rgb": {
"r": 162,
"g": 129,
"b": 248
},
"hsl": {
"h": 256.639,
"s": 89.474,
"l": 73.922
},
"oklch": {
"l": 0.68625,
"c": 0.17115,
"h": 294.2
},
"luminance": 0.30159
}Semantic roles & 50–950 ramp
primary
#A281F8
secondary
#EDF5D6
accent
#E600A6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85