#A462B2#A462B2
#A462B2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.0% C 0.137 H 320.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A462B2 |
|---|---|
| RGB | rgb(164, 98, 178) |
| HSL | hsl(290, 34%, 54%) |
| HSV | hsv(290, 45%, 70%) |
| CMYK | cmyk(7.9%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(51.66, 39.91, -31.75) |
| CIE-LCH | lch(51.66, 51.00, 321.50°) |
| OKLab | oklab(59.96% 0.1059 -0.0875) |
| OKLCH | oklch(59.96% 0.137 320.4) |
| XYZ | xyz(27.7124, 19.8432, 44.4812) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 3.83
Amethyst
#9B5FC0
ΔE00 4.27
Dark Lilac
#9C6DA5
ΔE00 4.98
Deep Lilac
#966EBD
ΔE00 5.53
Deep Lavender
#8D5EB7
ΔE00 6.00
Mediumorchid
#BA55D3
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462B2 #70B262
analogous
#7C62B2 #A462B2 #B26298
triadic
#A462B2 #B2A462 #62B2A4
tetradic
#A462B2 #B27C62 #70B262 #6298B2
square
#A462B2 #B27C62 #70B262 #6298B2
split-complementary
#A462B2 #98B262 #62B27C
monochromatic
#5E3367 #834790 #A462B2 #BC8BC6 #D4B4DA
Accessibility & contrast
On white
4.23
#A462B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#A462B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462B2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462B2 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#A56C82
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a462b2; /* rgb */ color: rgb(164, 98, 178); /* oklch */ color: oklch(60.0% 0.137 320.4);
Tailwind
colors: {
custom: {
50: '#c090c9',
500: '#a462b2',
950: '#000000',
},
}SCSS
$custom: #a462b2; $custom-light: #c090c9; $custom-dark: #000000;
JSON
{
"hex": "#a462b2",
"rgb": {
"r": 164,
"g": 98,
"b": 178
},
"hsl": {
"h": 289.5,
"s": 34.188,
"l": 54.118
},
"oklch": {
"l": 0.59962,
"c": 0.13733,
"h": 320.4
},
"luminance": 0.19842
}Semantic roles & 50–950 ramp
primary
#A462B2
secondary
#ADC9A7
accent
#CA5E71
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#120D13
muted
#817E82