#A762C8#A762C8
#A762C8 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.4% C 0.163 H 313.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A762C8 |
|---|---|
| RGB | rgb(167, 98, 200) |
| HSL | hsl(281, 48%, 58%) |
| HSV | hsv(281, 51%, 78%) |
| CMYK | cmyk(16.5%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(53.08, 45.39, -42.17) |
| CIE-LCH | lch(53.08, 61.96, 317.11°) |
| OKLab | oklab(61.45% 0.1127 -0.1175) |
| OKLCH | oklch(61.45% 0.163 313.8) |
| XYZ | xyz(30.7276, 21.1218, 57.0906) |
| Luminance | 0.2112 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.74
Mediumorchid
#BA55D3
ΔE00 4.11
Deep Lilac
#966EBD
ΔE00 5.06
Soft Purple
#A66FB5
ΔE00 5.76
Deep Lavender
#8D5EB7
ΔE00 5.78
Lightish Purple
#A552E6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A762C8 #83C862
analogous
#7462C8 #A762C8 #C862B6
triadic
#A762C8 #C8A762 #62C8A7
tetradic
#A762C8 #C87462 #83C862 #62B6C8
square
#A762C8 #C87462 #83C862 #62B6C8
split-complementary
#A762C8 #B6C862 #62C874
monochromatic
#672E82 #8B3DAF #A762C8 #C08FD8 #DABDE8
Accessibility & contrast
On white
4.02
#A762C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#A762C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A762C8
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A762C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A762C8 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#5F81C5
Tritanopia (blue-blind)
#A4728C
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a762c8; /* rgb */ color: rgb(167, 98, 200); /* oklch */ color: oklch(61.4% 0.163 313.8);
Tailwind
colors: {
custom: {
50: '#c391d9',
500: '#a762c8',
950: '#000000',
},
}SCSS
$custom: #a762c8; $custom-light: #c391d9; $custom-dark: #000000;
JSON
{
"hex": "#a762c8",
"rgb": {
"r": 167,
"g": 98,
"b": 200
},
"hsl": {
"h": 280.588,
"s": 48.113,
"l": 58.431
},
"oklch": {
"l": 0.61445,
"c": 0.16281,
"h": 313.8
},
"luminance": 0.21121
}Semantic roles & 50–950 ramp
primary
#A762C8
secondary
#BCD7AF
accent
#D8507C
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83