#A18CF7#A18CF7
#A18CF7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.153 H 290.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A18CF7 |
|---|---|
| RGB | rgb(161, 140, 247) |
| HSL | hsl(252, 87%, 76%) |
| HSV | hsv(252, 43%, 97%) |
| CMYK | cmyk(34.8%, 43.3%, 0%, 3.1%) |
| CIE-LAB | lab(64.20, 31.67, -50.94) |
| CIE-LCH | lch(64.20, 59.99, 301.87°) |
| OKLab | oklab(70.4% 0.0549 -0.1433) |
| OKLCH | oklch(70.4% 0.153 290.9) |
| XYZ | xyz(40.8601, 33.0477, 92.2037) |
| Luminance | 0.3305 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.12
Lavender Blue
#8B88F8
ΔE00 4.43
Periwinkle (survey)
#8E82FE
ΔE00 4.53
Periwinkle Blue
#8F99FB
ΔE00 6.51
Liliac
#C48EFD
ΔE00 6.90
Light Purple
#BF77F6
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18CF7 #E2F78C
analogous
#8CACF7 #A18CF7 #D68CF7
triadic
#A18CF7 #F7A18C #8CF7A1
tetradic
#A18CF7 #F78CAC #E2F78C #8CF7D6
square
#A18CF7 #F78CAC #E2F78C #8CF7D6
split-complementary
#A18CF7 #F7D68C #ACF78C
monochromatic
#431AEF #7253F3 #A18CF7 #D0C5FB #E8E2FD
Accessibility & contrast
On white
2.76
#A18CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#A18CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18CF7
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18CF7 | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689DFB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#8CA0B6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a18cf7; /* rgb */ color: rgb(161, 140, 247); /* oklch */ color: oklch(70.4% 0.153 290.9);
Tailwind
colors: {
custom: {
50: '#c0aefa',
500: '#a18cf7',
950: '#000000',
},
}SCSS
$custom: #a18cf7; $custom-light: #c0aefa; $custom-dark: #000000;
JSON
{
"hex": "#a18cf7",
"rgb": {
"r": 161,
"g": 140,
"b": 247
},
"hsl": {
"h": 251.776,
"s": 86.992,
"l": 75.882
},
"oklch": {
"l": 0.70399,
"c": 0.15348,
"h": 290.9
},
"luminance": 0.33049
}Semantic roles & 50–950 ramp
primary
#A18CF7
secondary
#EFF5D6
accent
#E402B7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121017
muted
#817F85