#A28FE3#A28FE3
#A28FE3 is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.0% C 0.122 H 293.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #A28FE3 |
|---|---|
| RGB | rgb(162, 143, 227) |
| HSL | hsl(254, 60%, 73%) |
| HSV | hsv(254, 37%, 89%) |
| CMYK | cmyk(28.6%, 37%, 0%, 11%) |
| CIE-LAB | lab(64.06, 25.15, -40.13) |
| CIE-LCH | lch(64.06, 47.36, 302.07°) |
| OKLab | oklab(70% 0.0484 -0.1119) |
| OKLCH | oklch(70% 0.122 293.4) |
| XYZ | xyz(38.5845, 32.8718, 76.9702) |
| Luminance | 0.3287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.59
Lavender
#B39DDB
ΔE00 6.32
Lavender Blue
#8B88F8
ΔE00 6.82
Pale Purple
#B790D4
ΔE00 6.92
Liliac
#C48EFD
ΔE00 7.24
Periwinkle (survey)
#8E82FE
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28FE3 #D0E38F
analogous
#8FA6E3 #A28FE3 #CC8FE3
triadic
#A28FE3 #E3A28F #8FE3A2
tetradic
#A28FE3 #E38FA6 #D0E38F #8FE3CC
square
#A28FE3 #E38FA6 #D0E38F #8FE3CC
split-complementary
#A28FE3 #E3CC8F #A6E38F
monochromatic
#5332C6 #795ED7 #A28FE3 #CBC0EF #EBE7F9
Accessibility & contrast
On white
2.77
#A28FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#A28FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28FE3
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28FE3 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#789CE6
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#949EAE
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #a28fe3; /* rgb */ color: rgb(162, 143, 227); /* oklch */ color: oklch(70.0% 0.122 293.4);
Tailwind
colors: {
custom: {
50: '#bfb0ec',
500: '#a28fe3',
950: '#000000',
},
}SCSS
$custom: #a28fe3; $custom-light: #bfb0ec; $custom-dark: #000000;
JSON
{
"hex": "#a28fe3",
"rgb": {
"r": 162,
"g": 143,
"b": 227
},
"hsl": {
"h": 253.571,
"s": 60,
"l": 72.549
},
"oklch": {
"l": 0.70002,
"c": 0.12194,
"h": 293.4
},
"luminance": 0.32872
}Semantic roles & 50–950 ramp
primary
#A28FE3
secondary
#EBF0DB
accent
#C81EA1
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84