#A18FFB#A18FFB
#A18FFB is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.2% C 0.154 H 289.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A18FFB |
|---|---|
| RGB | rgb(161, 143, 251) |
| HSL | hsl(250, 93%, 77%) |
| HSV | hsv(250, 43%, 98%) |
| CMYK | cmyk(35.9%, 43%, 0%, 1.6%) |
| CIE-LAB | lab(65.11, 31.01, -51.69) |
| CIE-LCH | lch(65.11, 60.28, 300.96°) |
| OKLab | oklab(71.15% 0.0516 -0.1455) |
| OKLCH | oklch(71.15% 0.154 289.5) |
| XYZ | xyz(41.9283, 34.1859, 95.6375) |
| Luminance | 0.3419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.15
Lavender Blue
#8B88F8
ΔE00 4.33
Periwinkle (survey)
#8E82FE
ΔE00 4.72
Periwinkle Blue
#8F99FB
ΔE00 5.71
Liliac
#C48EFD
ΔE00 7.23
Pastel Purple
#CAA0FF
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18FFB #E9FB8F
analogous
#8FB3FB #A18FFB #D78FFB
triadic
#A18FFB #FBA18F #8FFBA1
tetradic
#A18FFB #FB8FB3 #E9FB8F #8FFBD7
square
#A18FFB #FB8FB3 #E9FB8F #8FFBD7
split-complementary
#A18FFB #FBD78F #B3FB8F
monochromatic
#3E19F7 #6F54F9 #A18FFB #D3CAFD #E6E1FE
Accessibility & contrast
On white
2.68
#A18FFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A18FFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18FFB
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18FFB | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#6B9CF8
Tritanopia (blue-blind)
#8AA4B9
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a18ffb; /* rgb */ color: rgb(161, 143, 251); /* oklch */ color: oklch(71.2% 0.154 289.5);
Tailwind
colors: {
custom: {
50: '#c0b0fd',
500: '#a18ffb',
950: '#000000',
},
}SCSS
$custom: #a18ffb; $custom-light: #c0b0fd; $custom-dark: #000000;
JSON
{
"hex": "#a18ffb",
"rgb": {
"r": 161,
"g": 143,
"b": 251
},
"hsl": {
"h": 250,
"s": 93.103,
"l": 77.255
},
"oklch": {
"l": 0.71153,
"c": 0.15442,
"h": 289.5
},
"luminance": 0.34187
}Semantic roles & 50–950 ramp
primary
#A18FFB
secondary
#F1F6D5
accent
#E600BF
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86