#A28BF9#A28BF9
#A28BF9 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.158 H 291.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A28BF9 |
|---|---|
| RGB | rgb(162, 139, 249) |
| HSL | hsl(253, 90%, 76%) |
| HSV | hsv(253, 44%, 98%) |
| CMYK | cmyk(34.9%, 44.2%, 0%, 2.4%) |
| CIE-LAB | lab(64.15, 33.02, -52.11) |
| CIE-LCH | lch(64.15, 61.69, 302.36°) |
| OKLab | oklab(70.41% 0.0576 -0.1467) |
| OKLCH | oklch(70.41% 0.158 291.4) |
| XYZ | xyz(41.2273, 32.9852, 93.7988) |
| Luminance | 0.3299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.42
Perrywinkle
#8F8CE7
ΔE00 4.50
Lavender Blue
#8B88F8
ΔE00 4.55
Liliac
#C48EFD
ΔE00 6.71
Periwinkle Blue
#8F99FB
ΔE00 6.83
Light Purple
#BF77F6
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28BF9 #E2F98B
analogous
#8BABF9 #A28BF9 #D98BF9
triadic
#A28BF9 #F9A28B #8BF9A2
tetradic
#A28BF9 #F98BAB #E2F98B #8BF9D9
square
#A28BF9 #F98BAB #E2F98B #8BF9D9
split-complementary
#A28BF9 #F9D98B #ABF98B
monochromatic
#4517F3 #7351F6 #A28BF9 #D1C5FC #E8E2FD
Accessibility & contrast
On white
2.76
#A28BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#A28BF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28BF9
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28BF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28BF9 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#8DA0B6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a28bf9; /* rgb */ color: rgb(162, 139, 249); /* oklch */ color: oklch(70.4% 0.158 291.4);
Tailwind
colors: {
custom: {
50: '#c1adfc',
500: '#a28bf9',
950: '#000000',
},
}SCSS
$custom: #a28bf9; $custom-light: #c1adfc; $custom-dark: #000000;
JSON
{
"hex": "#a28bf9",
"rgb": {
"r": 162,
"g": 139,
"b": 249
},
"hsl": {
"h": 252.545,
"s": 90.164,
"l": 76.078
},
"oklch": {
"l": 0.70414,
"c": 0.15764,
"h": 291.4
},
"luminance": 0.32986
}Semantic roles & 50–950 ramp
primary
#A28BF9
secondary
#EFF6D5
accent
#E600B6
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85