#A038D9#A038D9
#A038D9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.5% C 0.235 H 310.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A038D9 |
|---|---|
| RGB | rgb(160, 56, 217) |
| HSL | hsl(279, 68%, 54%) |
| HSV | hsv(279, 74%, 85%) |
| CMYK | cmyk(26.3%, 74.2%, 0%, 14.9%) |
| CIE-LAB | lab(46.06, 66.90, -63.19) |
| CIE-LCH | lch(46.06, 92.03, 316.64°) |
| OKLab | oklab(56.5% 0.152 -0.1791) |
| OKLCH | oklch(56.5% 0.235 310.3) |
| XYZ | xyz(28.4333, 15.3123, 67.0899) |
| Luminance | 0.1531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.66
Vibrant Purple
#AD03DE
ΔE00 3.66
Violet (survey)
#9A0EEA
ΔE00 4.66
Bright Violet
#AD0AFD
ΔE00 4.77
Electric Purple
#AA23FF
ΔE00 4.80
Blueviolet
#8A2BE2
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A038D9 #71D938
analogous
#4F38D9 #A038D9 #D938C1
triadic
#A038D9 #D9A038 #38D9A0
tetradic
#A038D9 #D94F38 #71D938 #38C1D9
square
#A038D9 #D94F38 #71D938 #38C1D9
split-complementary
#A038D9 #C1D938 #38D94F
monochromatic
#5A187E #7F22B2 #A038D9 #B96BE3 #D19FED
Accessibility & contrast
On white
5.17
#A038D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#A038D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A038D9
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A038D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A038D9 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#106FD6
Tritanopia (blue-blind)
#985E86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a038d9; /* rgb */ color: rgb(160, 56, 217); /* oklch */ color: oklch(56.5% 0.235 310.3);
Tailwind
colors: {
custom: {
50: '#c179e6',
500: '#a038d9',
950: '#000000',
},
}SCSS
$custom: #a038d9; $custom-light: #c179e6; $custom-dark: #000000;
JSON
{
"hex": "#a038d9",
"rgb": {
"r": 160,
"g": 56,
"b": 217
},
"hsl": {
"h": 278.758,
"s": 67.932,
"l": 53.529
},
"oklch": {
"l": 0.56495,
"c": 0.2349,
"h": 310.3
},
"luminance": 0.15312
}Semantic roles & 50–950 ramp
primary
#A038D9
secondary
#ACD994
accent
#EB3D7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84