#A630A2#A630A2
#A630A2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.1% C 0.199 H 329.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A630A2 |
|---|---|
| RGB | rgb(166, 48, 162) |
| HSL | hsl(302, 55%, 42%) |
| HSV | hsv(302, 71%, 65%) |
| CMYK | cmyk(0%, 71.1%, 2.4%, 34.9%) |
| CIE-LAB | lab(42.51, 60.76, -36.68) |
| CIE-LCH | lch(42.51, 70.97, 328.88°) |
| OKLab | oklab(53.05% 0.1712 -0.1013) |
| OKLCH | oklch(53.05% 0.199 329.4) |
| XYZ | xyz(23.3042, 12.8313, 35.4247) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.10
Medium Purple
#9E43A2
ΔE00 3.16
Barney
#AC1DB8
ΔE00 3.95
Warm Purple
#952E8F
ΔE00 4.15
Barney Purple
#A00498
ΔE00 4.72
Purply
#983FB2
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A630A2 #30A634
analogous
#6F30A6 #A630A2 #A63067
triadic
#A630A2 #A2A630 #30A2A6
tetradic
#A630A2 #A66F30 #30A634 #3067A6
square
#A630A2 #A66F30 #30A634 #3067A6
split-complementary
#A630A2 #67A630 #30A66F
monochromatic
#471545 #772274 #A630A2 #CA49C6 #D878D5
Accessibility & contrast
On white
5.89
#A630A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#A630A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A630A2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A630A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A630A2 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215AA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#AC4066
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a630a2; /* rgb */ color: rgb(166, 48, 162); /* oklch */ color: oklch(53.1% 0.199 329.4);
Tailwind
colors: {
custom: {
50: '#c474be',
500: '#a630a2',
950: '#000000',
},
}SCSS
$custom: #a630a2; $custom-light: #c474be; $custom-dark: #000000;
JSON
{
"hex": "#a630a2",
"rgb": {
"r": 166,
"g": 48,
"b": 162
},
"hsl": {
"h": 302.034,
"s": 55.14,
"l": 41.961
},
"oklch": {
"l": 0.53052,
"c": 0.19896,
"h": 329.4
},
"luminance": 0.1283
}Semantic roles & 50–950 ramp
primary
#A630A2
secondary
#71C074
accent
#DE4E49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81