#A262C7#A262C7
#A262C7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.160 H 311.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A262C7 |
|---|---|
| RGB | rgb(162, 98, 199) |
| HSL | hsl(278, 47%, 58%) |
| HSV | hsv(278, 51%, 78%) |
| CMYK | cmyk(18.6%, 50.8%, 0%, 22%) |
| CIE-LAB | lab(52.44, 43.80, -42.64) |
| CIE-LCH | lch(52.44, 61.13, 315.77°) |
| OKLab | oklab(60.83% 0.1064 -0.1191) |
| OKLCH | oklch(60.83% 0.16 311.8) |
| XYZ | xyz(29.5750, 20.5409, 56.4286) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.89
Deep Lilac
#966EBD
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 4.86
Mediumorchid
#BA55D3
ΔE00 4.88
Lightish Purple
#A552E6
ΔE00 5.99
Soft Purple
#A66FB5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262C7 #87C762
analogous
#6F62C7 #A262C7 #C762B9
triadic
#A262C7 #C7A262 #62C7A2
tetradic
#A262C7 #C76F62 #87C762 #62B9C7
square
#A262C7 #C76F62 #87C762 #62B9C7
split-complementary
#A262C7 #B9C762 #62C76F
monochromatic
#622E81 #853EAE #A262C7 #BD8FD7 #D7BCE7
Accessibility & contrast
On white
4.11
#A262C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#A262C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262C7
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262C7 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#9E728B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a262c7; /* rgb */ color: rgb(162, 98, 199); /* oklch */ color: oklch(60.8% 0.160 311.8);
Tailwind
colors: {
custom: {
50: '#c091d8',
500: '#a262c7',
950: '#000000',
},
}SCSS
$custom: #a262c7; $custom-light: #c091d8; $custom-dark: #000000;
JSON
{
"hex": "#a262c7",
"rgb": {
"r": 162,
"g": 98,
"b": 199
},
"hsl": {
"h": 278.02,
"s": 47.418,
"l": 58.235
},
"oklch": {
"l": 0.60826,
"c": 0.15967,
"h": 311.8
},
"luminance": 0.2054
}Semantic roles & 50–950 ramp
primary
#A262C7
secondary
#BDD7AE
accent
#D75182
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83