#A18BDA#A18BDA
#A18BDA is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.7% C 0.116 H 296.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A18BDA |
|---|---|
| RGB | rgb(161, 139, 218) |
| HSL | hsl(257, 52%, 70%) |
| HSV | hsv(257, 36%, 85%) |
| CMYK | cmyk(26.1%, 36.2%, 0%, 14.5%) |
| CIE-LAB | lab(62.60, 24.93, -37.43) |
| CIE-LCH | lch(62.60, 44.97, 303.67°) |
| OKLab | oklab(68.74% 0.0508 -0.1041) |
| OKLCH | oklch(68.74% 0.116 296) |
| XYZ | xyz(36.5825, 31.1039, 70.3924) |
| Luminance | 0.3110 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.60
Pale Purple
#B790D4
ΔE00 5.99
Lavender
#B39DDB
ΔE00 6.27
Wisteria
#A87DC2
ΔE00 6.92
Liliac
#C48EFD
ΔE00 7.72
Lavender Blue
#8B88F8
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18BDA #C4DA8B
analogous
#8B9CDA #A18BDA #C98BDA
triadic
#A18BDA #DAA18B #8BDAA1
tetradic
#A18BDA #DA8B9C #C4DA8B #8BDAC9
square
#A18BDA #DA8B9C #C4DA8B #8BDAC9
split-complementary
#A18BDA #DAC98B #9CDA8B
monochromatic
#5A39B2 #7B5DCB #A18BDA #C7B9E9 #ECE8F8
Accessibility & contrast
On white
2.91
#A18BDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#A18BDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18BDA
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18BDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18BDA | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7698DD
Deuteranopia (green-blind)
#7A96D8
Tritanopia (blue-blind)
#9598A8
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a18bda; /* rgb */ color: rgb(161, 139, 218); /* oklch */ color: oklch(68.7% 0.116 296.0);
Tailwind
colors: {
custom: {
50: '#beade5',
500: '#a18bda',
950: '#000000',
},
}SCSS
$custom: #a18bda; $custom-light: #beade5; $custom-dark: #000000;
JSON
{
"hex": "#a18bda",
"rgb": {
"r": 161,
"g": 139,
"b": 218
},
"hsl": {
"h": 256.709,
"s": 51.634,
"l": 70
},
"oklch": {
"l": 0.68735,
"c": 0.11586,
"h": 296
},
"luminance": 0.31104
}Semantic roles & 50–950 ramp
primary
#A18BDA
secondary
#E5EBD5
accent
#BF2695
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121016
muted
#817F84