#A18CFF#A18CFF
#A18CFF is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.8% C 0.164 H 289.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A18CFF |
|---|---|
| RGB | rgb(161, 140, 255) |
| HSL | hsl(251, 100%, 77%) |
| HSV | hsv(251, 45%, 100%) |
| CMYK | cmyk(36.9%, 45.1%, 0%, 0%) |
| CIE-LAB | lab(64.61, 33.77, -54.68) |
| CIE-LCH | lch(64.61, 64.27, 301.70°) |
| OKLab | oklab(70.84% 0.056 -0.1543) |
| OKLCH | oklch(70.84% 0.164 289.9) |
| XYZ | xyz(42.1212, 33.5521, 98.8453) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.08
Lavender Blue
#8B88F8
ΔE00 4.18
Perrywinkle
#8F8CE7
ΔE00 4.66
Periwinkle Blue
#8F99FB
ΔE00 6.30
Liliac
#C48EFD
ΔE00 7.18
Light Purple
#BF77F6
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18CFF #EAFF8C
analogous
#8CB0FF #A18CFF #DB8CFF
triadic
#A18CFF #FFA18C #8CFFA1
tetradic
#A18CFF #FF8CB0 #EAFF8C #8CFFDB
square
#A18CFF #FF8CB0 #EAFF8C #8CFFDB
split-complementary
#A18CFF #FFDB8C #B0FF8C
monochromatic
#3D12FF #6F4FFF #A18CFF #D3C9FF #E6E0FF
Accessibility & contrast
On white
2.72
#A18CFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#A18CFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18CFF
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18CFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18CFF | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#89A2B9
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a18cff; /* rgb */ color: rgb(161, 140, 255); /* oklch */ color: oklch(70.8% 0.164 289.9);
Tailwind
colors: {
custom: {
50: '#c0aeff',
500: '#a18cff',
950: '#000000',
},
}SCSS
$custom: #a18cff; $custom-light: #c0aeff; $custom-dark: #000000;
JSON
{
"hex": "#a18cff",
"rgb": {
"r": 161,
"g": 140,
"b": 255
},
"hsl": {
"h": 250.957,
"s": 100,
"l": 77.451
},
"oklch": {
"l": 0.70838,
"c": 0.1641,
"h": 289.9
},
"luminance": 0.33553
}Semantic roles & 50–950 ramp
primary
#A18CFF
secondary
#F1F7D4
accent
#E600BC
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86