#A28AF9#A28AF9
#A28AF9 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.159 H 291.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A28AF9 |
|---|---|
| RGB | rgb(162, 138, 249) |
| HSL | hsl(253, 90%, 76%) |
| HSV | hsv(253, 45%, 98%) |
| CMYK | cmyk(34.9%, 44.6%, 0%, 2.4%) |
| CIE-LAB | lab(63.91, 33.59, -52.49) |
| CIE-LCH | lch(63.91, 62.31, 302.62°) |
| OKLab | oklab(70.24% 0.0589 -0.1478) |
| OKLCH | oklch(70.24% 0.159 291.7) |
| XYZ | xyz(41.0832, 32.6969, 93.7508) |
| Luminance | 0.3270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.32
Lavender Blue
#8B88F8
ΔE00 4.58
Perrywinkle
#8F8CE7
ΔE00 4.62
Liliac
#C48EFD
ΔE00 6.68
Periwinkle Blue
#8F99FB
ΔE00 7.06
Light Purple
#BF77F6
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28AF9 #E1F98A
analogous
#8AA9F9 #A28AF9 #D98AF9
triadic
#A28AF9 #F9A28A #8AF9A2
tetradic
#A28AF9 #F98AA9 #E1F98A #8AF9D9
square
#A28AF9 #F98AA9 #E1F98A #8AF9D9
split-complementary
#A28AF9 #F9D98A #A9F98A
monochromatic
#4516F3 #7450F6 #A28AF9 #D0C4FC #E8E2FE
Accessibility & contrast
On white
2.79
#A28AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#A28AF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28AF9
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28AF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28AF9 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649DFD
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#8D9FB6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a28af9; /* rgb */ color: rgb(162, 138, 249); /* oklch */ color: oklch(70.2% 0.159 291.7);
Tailwind
colors: {
custom: {
50: '#c1acfc',
500: '#a28af9',
950: '#000000',
},
}SCSS
$custom: #a28af9; $custom-light: #c1acfc; $custom-dark: #000000;
JSON
{
"hex": "#a28af9",
"rgb": {
"r": 162,
"g": 138,
"b": 249
},
"hsl": {
"h": 252.973,
"s": 90.244,
"l": 75.882
},
"oklch": {
"l": 0.70238,
"c": 0.15912,
"h": 291.7
},
"luminance": 0.32698
}Semantic roles & 50–950 ramp
primary
#A28AF9
secondary
#EFF6D5
accent
#E600B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85