#A98FF2#A98FF2
#A98FF2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.4% C 0.143 H 294.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A98FF2 |
|---|---|
| RGB | rgb(169, 143, 242) |
| HSL | hsl(256, 79%, 75%) |
| HSV | hsv(256, 41%, 95%) |
| CMYK | cmyk(30.2%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.35, 30.82, -46.33) |
| CIE-LCH | lch(65.35, 55.65, 303.63°) |
| OKLab | oklab(71.36% 0.0594 -0.1297) |
| OKLCH | oklch(71.36% 0.143 294.6) |
| XYZ | xyz(42.2077, 34.4901, 88.4207) |
| Luminance | 0.3449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.37
Perrywinkle
#8F8CE7
ΔE00 5.38
Lavender Blue
#8B88F8
ΔE00 6.48
Periwinkle (survey)
#8E82FE
ΔE00 6.64
Pastel Purple
#CAA0FF
ΔE00 6.91
Baby Purple
#CA9BF7
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98FF2 #D8F28F
analogous
#8FA6F2 #A98FF2 #DB8FF2
triadic
#A98FF2 #F2A98F #8FF2A9
tetradic
#A98FF2 #F28FA6 #D8F28F #8FF2DB
square
#A98FF2 #F28FA6 #D8F28F #8FF2DB
split-complementary
#A98FF2 #F2DB8F #A6F28F
monochromatic
#5521E5 #7F58EC #A98FF2 #D3C6F8 #EAE4FC
Accessibility & contrast
On white
2.66
#A98FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#A98FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A98FF2
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98FF2 | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#769DF0
Tritanopia (blue-blind)
#99A1B5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a98ff2; /* rgb */ color: rgb(169, 143, 242); /* oklch */ color: oklch(71.4% 0.143 294.6);
Tailwind
colors: {
custom: {
50: '#c5b0f7',
500: '#a98ff2',
950: '#000000',
},
}SCSS
$custom: #a98ff2; $custom-light: #c5b0f7; $custom-dark: #000000;
JSON
{
"hex": "#a98ff2",
"rgb": {
"r": 169,
"g": 143,
"b": 242
},
"hsl": {
"h": 255.758,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.71356,
"c": 0.1427,
"h": 294.6
},
"luminance": 0.34491
}Semantic roles & 50–950 ramp
primary
#A98FF2
secondary
#ECF4D7
accent
#DB0AA4
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85