#A28FF9#A28FF9
#A28FF9 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.1% C 0.152 H 290.2°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A28FF9 |
|---|---|
| RGB | rgb(162, 143, 249) |
| HSL | hsl(251, 90%, 77%) |
| HSV | hsv(251, 43%, 98%) |
| CMYK | cmyk(34.9%, 42.6%, 0%, 2.4%) |
| CIE-LAB | lab(65.09, 30.74, -50.62) |
| CIE-LCH | lch(65.09, 59.22, 301.27°) |
| OKLab | oklab(71.13% 0.0525 -0.1424) |
| OKLCH | oklch(71.13% 0.152 290.2) |
| XYZ | xyz(41.8171, 34.1648, 93.9954) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.18
Lavender Blue
#8B88F8
ΔE00 4.60
Periwinkle (survey)
#8E82FE
ΔE00 4.97
Periwinkle Blue
#8F99FB
ΔE00 5.96
Liliac
#C48EFD
ΔE00 6.96
Pastel Purple
#CAA0FF
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28FF9 #E6F98F
analogous
#8FB1F9 #A28FF9 #D78FF9
triadic
#A28FF9 #F9A28F #8FF9A2
tetradic
#A28FF9 #F98FB1 #E6F98F #8FF9D7
square
#A28FF9 #F98FB1 #E6F98F #8FF9D7
split-complementary
#A28FF9 #F9D78F #B1F98F
monochromatic
#421BF3 #7255F6 #A28FF9 #D2C9FC #E7E2FD
Accessibility & contrast
On white
2.68
#A28FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#A28FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28FF9
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28FF9 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#6D9CF6
Tritanopia (blue-blind)
#8CA3B8
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a28ff9; /* rgb */ color: rgb(162, 143, 249); /* oklch */ color: oklch(71.1% 0.152 290.2);
Tailwind
colors: {
custom: {
50: '#c1b0fc',
500: '#a28ff9',
950: '#000000',
},
}SCSS
$custom: #a28ff9; $custom-light: #c1b0fc; $custom-dark: #000000;
JSON
{
"hex": "#a28ff9",
"rgb": {
"r": 162,
"g": 143,
"b": 249
},
"hsl": {
"h": 250.755,
"s": 89.831,
"l": 76.863
},
"oklch": {
"l": 0.71128,
"c": 0.15174,
"h": 290.2
},
"luminance": 0.34166
}Semantic roles & 50–950 ramp
primary
#A28FF9
secondary
#F0F6D5
accent
#E600BC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85