#A28FF2#A28FF2
#A28FF2 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.142 H 291.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A28FF2 |
|---|---|
| RGB | rgb(162, 143, 242) |
| HSL | hsl(252, 79%, 75%) |
| HSV | hsv(252, 41%, 95%) |
| CMYK | cmyk(33.1%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.75, 28.94, -47.32) |
| CIE-LCH | lch(64.75, 55.46, 301.45°) |
| OKLab | oklab(70.76% 0.0513 -0.1328) |
| OKLCH | oklch(70.76% 0.142 291.1) |
| XYZ | xyz(40.7456, 33.7362, 88.3522) |
| Luminance | 0.3374 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.93
Lavender Blue
#8B88F8
ΔE00 5.05
Periwinkle (survey)
#8E82FE
ΔE00 5.54
Periwinkle Blue
#8F99FB
ΔE00 6.34
Liliac
#C48EFD
ΔE00 6.85
Pastel Purple
#CAA0FF
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28FF2 #DFF28F
analogous
#8FADF2 #A28FF2 #D38FF2
triadic
#A28FF2 #F2A28F #8FF2A2
tetradic
#A28FF2 #F28FAD #DFF28F #8FF2D3
square
#A28FF2 #F28FAD #DFF28F #8FF2D3
split-complementary
#A28FF2 #F2D38F #ADF28F
monochromatic
#4721E5 #7458EC #A28FF2 #D0C6F8 #E8E4FC
Accessibility & contrast
On white
2.71
#A28FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#A28FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28FF2
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28FF2 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#729BF0
Tritanopia (blue-blind)
#8FA1B5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a28ff2; /* rgb */ color: rgb(162, 143, 242); /* oklch */ color: oklch(70.8% 0.142 291.1);
Tailwind
colors: {
custom: {
50: '#c0b0f7',
500: '#a28ff2',
950: '#000000',
},
}SCSS
$custom: #a28ff2; $custom-light: #c0b0f7; $custom-dark: #000000;
JSON
{
"hex": "#a28ff2",
"rgb": {
"r": 162,
"g": 143,
"b": 242
},
"hsl": {
"h": 251.515,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.70759,
"c": 0.14233,
"h": 291.1
},
"luminance": 0.33737
}Semantic roles & 50–950 ramp
primary
#A28FF2
secondary
#EEF4D7
accent
#DB0AB3
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85