#A638C2#A638C2
#A638C2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.216 H 318.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A638C2 |
|---|---|
| RGB | rgb(166, 56, 194) |
| HSL | hsl(288, 55%, 49%) |
| HSV | hsv(288, 71%, 76%) |
| CMYK | cmyk(14.4%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(45.40, 63.51, -50.94) |
| CIE-LCH | lch(45.40, 81.42, 321.27°) |
| OKLab | oklab(55.72% 0.1624 -0.1429) |
| OKLCH | oklch(55.72% 0.216 318.6) |
| XYZ | xyz(26.8763, 14.8316, 52.4756) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.12
Barney
#AC1DB8
ΔE00 3.55
Darkorchid
#9932CC
ΔE00 3.61
Vibrant Purple
#AD03DE
ΔE00 4.92
Medium Purple
#9E43A2
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A638C2 #54C238
analogous
#6138C2 #A638C2 #C23899
triadic
#A638C2 #C2A638 #38C2A6
tetradic
#A638C2 #C26138 #54C238 #3899C2
square
#A638C2 #C26138 #54C238 #3899C2
split-complementary
#A638C2 #99C238 #38C261
monochromatic
#551D63 #7D2A93 #A638C2 #BC65D2 #D194E0
Accessibility & contrast
On white
5.30
#A638C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#A638C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A638C2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A638C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A638C2 | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#A6537A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a638c2; /* rgb */ color: rgb(166, 56, 194); /* oklch */ color: oklch(55.7% 0.216 318.6);
Tailwind
colors: {
custom: {
50: '#c479d5',
500: '#a638c2',
950: '#000000',
},
}SCSS
$custom: #a638c2; $custom-light: #c479d5; $custom-dark: #000000;
JSON
{
"hex": "#a638c2",
"rgb": {
"r": 166,
"g": 56,
"b": 194
},
"hsl": {
"h": 287.826,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.55723,
"c": 0.21632,
"h": 318.6
},
"luminance": 0.1483
}Semantic roles & 50–950 ramp
primary
#A638C2
secondary
#98CB8A
accent
#DF4968
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83