#762AA3#762AA3
#762AA3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.187 H 309.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #762AA3 |
|---|---|
| RGB | rgb(118, 42, 163) |
| HSL | hsl(278, 59%, 40%) |
| HSV | hsv(278, 74%, 64%) |
| CMYK | cmyk(27.6%, 74.2%, 0%, 36.1%) |
| CIE-LAB | lab(34.30, 52.85, -50.84) |
| CIE-LCH | lch(34.30, 73.34, 316.11°) |
| OKLab | oklab(45.72% 0.1188 -0.1441) |
| OKLCH | oklch(45.72% 0.187 309.5) |
| XYZ | xyz(14.9087, 8.1521, 35.4314) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.62
Rebeccapurple
#663399
ΔE00 3.45
Darkmagenta
#8B008B
ΔE00 7.27
Darkviolet
#9400D3
ΔE00 7.57
Purple
#800080
ΔE00 7.98
Purple Blue
#5D21D0
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762AA3 #57A32A
analogous
#3A2AA3 #762AA3 #A32A93
triadic
#762AA3 #A3762A #2AA376
tetradic
#762AA3 #A33A2A #57A32A #2A93A3
square
#762AA3 #A33A2A #57A32A #2A93A3
split-complementary
#762AA3 #93A32A #2AA33A
monochromatic
#301142 #531D72 #762AA3 #983DCD #B26EDA
Accessibility & contrast
On white
7.98
#762AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#762AA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762AA3
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762AA3 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0A52A0
Tritanopia (blue-blind)
#6F4664
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #762aa3; /* rgb */ color: rgb(118, 42, 163); /* oklch */ color: oklch(45.7% 0.187 309.5);
Tailwind
colors: {
custom: {
50: '#a26bbf',
500: '#762aa3',
950: '#000000',
},
}SCSS
$custom: #762aa3; $custom-light: #a26bbf; $custom-dark: #000000;
JSON
{
"hex": "#762aa3",
"rgb": {
"r": 118,
"g": 42,
"b": 163
},
"hsl": {
"h": 277.686,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.45719,
"c": 0.18676,
"h": 309.5
},
"luminance": 0.08152
}Semantic roles & 50–950 ramp
primary
#762AA3
secondary
#89C068
accent
#E24680
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81