#762AA5#762AA5
#762AA5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.189 H 308.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #762AA5 |
|---|---|
| RGB | rgb(118, 42, 165) |
| HSL | hsl(277, 59%, 41%) |
| HSV | hsv(277, 75%, 65%) |
| CMYK | cmyk(28.5%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(34.45, 53.30, -51.81) |
| CIE-LCH | lch(34.45, 74.33, 315.81°) |
| OKLab | oklab(45.87% 0.1185 -0.1469) |
| OKLCH | oklch(45.87% 0.189 308.9) |
| XYZ | xyz(15.0893, 8.2244, 36.3826) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.85
Rebeccapurple
#663399
ΔE00 3.52
Darkviolet
#9400D3
ΔE00 7.33
Darkmagenta
#8B008B
ΔE00 7.51
Purple Blue
#5D21D0
ΔE00 7.79
Purple
#800080
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762AA5 #59A52A
analogous
#382AA5 #762AA5 #A52A96
triadic
#762AA5 #A5762A #2AA576
tetradic
#762AA5 #A5382A #59A52A #2A96A5
square
#762AA5 #A5382A #59A52A #2A96A5
split-complementary
#762AA5 #96A52A #2AA538
monochromatic
#301143 #531E74 #762AA5 #973ECE #B16FDA
Accessibility & contrast
On white
7.94
#762AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#762AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762AA5
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762AA5 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0252A2
Tritanopia (blue-blind)
#6F4765
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #762aa5; /* rgb */ color: rgb(118, 42, 165); /* oklch */ color: oklch(45.9% 0.189 308.9);
Tailwind
colors: {
custom: {
50: '#a26bc0',
500: '#762aa5',
950: '#000000',
},
}SCSS
$custom: #762aa5; $custom-light: #a26bc0; $custom-dark: #000000;
JSON
{
"hex": "#762aa5",
"rgb": {
"r": 118,
"g": 42,
"b": 165
},
"hsl": {
"h": 277.073,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.4587,
"c": 0.18875,
"h": 308.9
},
"luminance": 0.08224
}Semantic roles & 50–950 ramp
primary
#762AA5
secondary
#8BC169
accent
#E34581
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81