#A18FF2#A18FF2
#A18FF2 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.142 H 290.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A18FF2 |
|---|---|
| RGB | rgb(161, 143, 242) |
| HSL | hsl(251, 79%, 75%) |
| HSV | hsv(251, 41%, 95%) |
| CMYK | cmyk(33.5%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(64.67, 28.67, -47.45) |
| CIE-LCH | lch(64.67, 55.44, 301.14°) |
| OKLab | oklab(70.68% 0.0502 -0.1332) |
| OKLCH | oklch(70.68% 0.142 290.6) |
| XYZ | xyz(40.5432, 33.6319, 88.3427) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.73
Lavender Blue
#8B88F8
ΔE00 4.86
Periwinkle (survey)
#8E82FE
ΔE00 5.41
Periwinkle Blue
#8F99FB
ΔE00 6.14
Liliac
#C48EFD
ΔE00 7.06
Pastel Purple
#CAA0FF
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18FF2 #E0F28F
analogous
#8FAEF2 #A18FF2 #D28FF2
triadic
#A18FF2 #F2A18F #8FF2A1
tetradic
#A18FF2 #F28FAE #E0F28F #8FF2D2
square
#A18FF2 #F28FAE #E0F28F #8FF2D2
split-complementary
#A18FF2 #F2D28F #AEF28F
monochromatic
#4521E5 #7358EC #A18FF2 #CFC6F8 #E8E4FC
Accessibility & contrast
On white
2.72
#A18FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#A18FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18FF2
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18FF2 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#719BF0
Tritanopia (blue-blind)
#8DA1B5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a18ff2; /* rgb */ color: rgb(161, 143, 242); /* oklch */ color: oklch(70.7% 0.142 290.6);
Tailwind
colors: {
custom: {
50: '#bfb0f7',
500: '#a18ff2',
950: '#000000',
},
}SCSS
$custom: #a18ff2; $custom-light: #bfb0f7; $custom-dark: #000000;
JSON
{
"hex": "#a18ff2",
"rgb": {
"r": 161,
"g": 143,
"b": 242
},
"hsl": {
"h": 250.909,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.70675,
"c": 0.14231,
"h": 290.6
},
"luminance": 0.33633
}Semantic roles & 50–950 ramp
primary
#A18FF2
secondary
#EEF4D7
accent
#DB0AB5
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85