#A762E4#A762E4
#A762E4 is a light, vivid violet. Relative luminance 0.226; OKLCH L 63.1% C 0.194 H 306.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #A762E4 |
|---|---|
| RGB | rgb(167, 98, 228) |
| HSL | hsl(272, 71%, 64%) |
| HSV | hsv(272, 57%, 89%) |
| CMYK | cmyk(26.8%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(54.61, 51.65, -55.62) |
| CIE-LCH | lch(54.61, 75.90, 312.88°) |
| OKLab | oklab(63.06% 0.1143 -0.1568) |
| OKLCH | oklch(63.06% 0.194 306.1) |
| XYZ | xyz(34.3047, 22.5526, 75.9296) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.92
Lightish Purple
#A552E6
ΔE00 3.70
Light Urple
#B36FF6
ΔE00 4.59
Mediumpurple
#9370DB
ΔE00 5.28
Mediumorchid
#BA55D3
ΔE00 5.52
Amethyst
#9B5FC0
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A762E4 #9FE462
analogous
#6662E4 #A762E4 #E462E0
triadic
#A762E4 #E4A762 #62E4A7
tetradic
#A762E4 #E46662 #9FE462 #62E0E4
square
#A762E4 #E46662 #9FE462 #62E0E4
split-complementary
#A762E4 #E0E462 #62E466
monochromatic
#6A1EAE #8A2EDB #A762E4 #C496ED #E2CAF6
Accessibility & contrast
On white
3.81
#A762E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#A762E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A762E4
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A762E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A762E4 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#9D7B9A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a762e4; /* rgb */ color: rgb(167, 98, 228); /* oklch */ color: oklch(63.1% 0.194 306.1);
Tailwind
colors: {
custom: {
50: '#c591ed',
500: '#a762e4',
950: '#000000',
},
}SCSS
$custom: #a762e4; $custom-light: #c591ed; $custom-dark: #000000;
JSON
{
"hex": "#a762e4",
"rgb": {
"r": 167,
"g": 98,
"b": 228
},
"hsl": {
"h": 271.846,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.63062,
"c": 0.19406,
"h": 306.1
},
"luminance": 0.22552
}Semantic roles & 50–950 ramp
primary
#A762E4
secondary
#CFE8BA
accent
#D3136D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84