#A28FF7#A28FF7
#A28FF7 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.149 H 290.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A28FF7 |
|---|---|
| RGB | rgb(162, 143, 247) |
| HSL | hsl(251, 87%, 76%) |
| HSV | hsv(251, 42%, 97%) |
| CMYK | cmyk(34.4%, 42.1%, 0%, 3.1%) |
| CIE-LAB | lab(64.99, 30.23, -49.68) |
| CIE-LCH | lch(64.99, 58.15, 301.32°) |
| OKLab | oklab(71.02% 0.0522 -0.1396) |
| OKLCH | oklch(71.02% 0.149 290.5) |
| XYZ | xyz(41.5068, 34.0407, 92.3613) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.08
Lavender Blue
#8B88F8
ΔE00 4.70
Periwinkle (survey)
#8E82FE
ΔE00 5.11
Periwinkle Blue
#8F99FB
ΔE00 6.05
Liliac
#C48EFD
ΔE00 6.91
Pastel Purple
#CAA0FF
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28FF7 #E4F78F
analogous
#8FB0F7 #A28FF7 #D68FF7
triadic
#A28FF7 #F7A28F #8FF7A2
tetradic
#A28FF7 #F78FB0 #E4F78F #8FF7D6
square
#A28FF7 #F78FB0 #E4F78F #8FF7D6
split-complementary
#A28FF7 #F7D68F #B0F78F
monochromatic
#431DEF #7356F3 #A28FF7 #D1C8FB #E7E2FD
Accessibility & contrast
On white
2.69
#A28FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A28FF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28FF7
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28FF7 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6DA0FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#8DA3B7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a28ff7; /* rgb */ color: rgb(162, 143, 247); /* oklch */ color: oklch(71.0% 0.149 290.5);
Tailwind
colors: {
custom: {
50: '#c0b0fa',
500: '#a28ff7',
950: '#000000',
},
}SCSS
$custom: #a28ff7; $custom-light: #c0b0fa; $custom-dark: #000000;
JSON
{
"hex": "#a28ff7",
"rgb": {
"r": 162,
"g": 143,
"b": 247
},
"hsl": {
"h": 250.962,
"s": 86.667,
"l": 76.471
},
"oklch": {
"l": 0.71022,
"c": 0.14905,
"h": 290.5
},
"luminance": 0.34042
}Semantic roles & 50–950 ramp
primary
#A28FF7
secondary
#EFF5D6
accent
#E302BA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85