#A28FF6#A28FF6
#A28FF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.0% C 0.148 H 290.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A28FF6 |
|---|---|
| RGB | rgb(162, 143, 246) |
| HSL | hsl(251, 85%, 76%) |
| HSV | hsv(251, 42%, 96%) |
| CMYK | cmyk(34.1%, 41.9%, 0%, 3.5%) |
| CIE-LAB | lab(64.95, 29.97, -49.21) |
| CIE-LCH | lch(64.95, 57.61, 301.34°) |
| OKLab | oklab(70.97% 0.052 -0.1383) |
| OKLCH | oklch(70.97% 0.148 290.6) |
| XYZ | xyz(41.3529, 33.9791, 91.5508) |
| Luminance | 0.3398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.04
Lavender Blue
#8B88F8
ΔE00 4.76
Periwinkle (survey)
#8E82FE
ΔE00 5.19
Periwinkle Blue
#8F99FB
ΔE00 6.10
Liliac
#C48EFD
ΔE00 6.89
Pastel Purple
#CAA0FF
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28FF6 #E3F68F
analogous
#8FB0F6 #A28FF6 #D68FF6
triadic
#A28FF6 #F6A28F #8FF6A2
tetradic
#A28FF6 #F68FB0 #E3F68F #8FF6D6
square
#A28FF6 #F68FB0 #E3F68F #8FF6D6
split-complementary
#A28FF6 #F6D68F #B0F68F
monochromatic
#441EED #7356F1 #A28FF6 #D1C8FB #E7E3FD
Accessibility & contrast
On white
2.69
#A28FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#A28FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28FF6
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28FF6 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9FFA
Deuteranopia (green-blind)
#6F9BF3
Tritanopia (blue-blind)
#8DA2B7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a28ff6; /* rgb */ color: rgb(162, 143, 246); /* oklch */ color: oklch(71.0% 0.148 290.6);
Tailwind
colors: {
custom: {
50: '#c0b0f9',
500: '#a28ff6',
950: '#000000',
},
}SCSS
$custom: #a28ff6; $custom-light: #c0b0f9; $custom-dark: #000000;
JSON
{
"hex": "#a28ff6",
"rgb": {
"r": 162,
"g": 143,
"b": 246
},
"hsl": {
"h": 251.068,
"s": 85.124,
"l": 76.275
},
"oklch": {
"l": 0.70969,
"c": 0.14771,
"h": 290.6
},
"luminance": 0.3398
}Semantic roles & 50–950 ramp
primary
#A28FF6
secondary
#EFF5D6
accent
#E204B9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85