#A28AF0#A28AF0
#A28AF0 is a light, vivid violet. Relative luminance 0.322; OKLCH L 69.8% C 0.147 H 293.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A28AF0 |
|---|---|
| RGB | rgb(162, 138, 240) |
| HSL | hsl(254, 77%, 74%) |
| HSV | hsv(254, 43%, 94%) |
| CMYK | cmyk(32.5%, 42.5%, 0%, 5.9%) |
| CIE-LAB | lab(63.47, 31.27, -48.25) |
| CIE-LCH | lch(63.47, 57.49, 302.95°) |
| OKLab | oklab(69.75% 0.0575 -0.1355) |
| OKLCH | oklch(69.75% 0.147 293) |
| XYZ | xyz(39.7129, 32.1489, 86.5342) |
| Luminance | 0.3215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.36
Periwinkle (survey)
#8E82FE
ΔE00 5.14
Lavender Blue
#8B88F8
ΔE00 5.17
Liliac
#C48EFD
ΔE00 6.52
Periwinkle Blue
#8F99FB
ΔE00 7.49
Light Purple
#BF77F6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28AF0 #D8F08A
analogous
#8AA5F0 #A28AF0 #D58AF0
triadic
#A28AF0 #F0A28A #8AF0A2
tetradic
#A28AF0 #F08AA5 #D8F08A #8AF0D5
square
#A28AF0 #F08AA5 #D8F08A #8AF0D5
split-complementary
#A28AF0 #F0D58A #A5F08A
monochromatic
#4C1EE2 #7754E9 #A28AF0 #CDC0F7 #E9E4FC
Accessibility & contrast
On white
2.83
#A28AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#A28AF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28AF0
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28AF0 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A9BF4
Deuteranopia (green-blind)
#6D98ED
Tritanopia (blue-blind)
#909DB1
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a28af0; /* rgb */ color: rgb(162, 138, 240); /* oklch */ color: oklch(69.8% 0.147 293.0);
Tailwind
colors: {
custom: {
50: '#c0acf5',
500: '#a28af0',
950: '#000000',
},
}SCSS
$custom: #a28af0; $custom-light: #c0acf5; $custom-dark: #000000;
JSON
{
"hex": "#a28af0",
"rgb": {
"r": 162,
"g": 138,
"b": 240
},
"hsl": {
"h": 254.118,
"s": 77.273,
"l": 74.118
},
"oklch": {
"l": 0.69752,
"c": 0.14717,
"h": 293
},
"luminance": 0.3215
}Semantic roles & 50–950 ramp
primary
#A28AF0
secondary
#EDF3D8
accent
#DA0CA9
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85