#762AB9#762AB9
#762AB9 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.209 H 303.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #762AB9 |
|---|---|
| RGB | rgb(118, 42, 185) |
| HSL | hsl(272, 63%, 45%) |
| HSV | hsv(272, 77%, 73%) |
| CMYK | cmyk(36.2%, 77.3%, 0%, 27.5%) |
| CIE-LAB | lab(36.00, 57.86, -61.20) |
| CIE-LCH | lch(36.00, 84.22, 313.39°) |
| OKLab | oklab(47.45% 0.1141 -0.1745) |
| OKLCH | oklch(47.45% 0.209 303.2) |
| XYZ | xyz(17.0541, 9.0103, 46.7302) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 5.30
Rebeccapurple
#663399
ΔE00 5.35
Purple (survey)
#7E1E9C
ΔE00 5.48
Darkviolet
#9400D3
ΔE00 5.49
Bluey Purple
#6241C7
ΔE00 6.20
Blueviolet
#8A2BE2
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762AB9 #6DB92A
analogous
#2E2AB9 #762AB9 #B92AB5
triadic
#762AB9 #B9762A #2AB976
tetradic
#762AB9 #B92E2A #6DB92A #2AB5B9
square
#762AB9 #B92E2A #6DB92A #2AB5B9
split-complementary
#762AB9 #B5B92A #2AB92E
monochromatic
#361355 #561F87 #762AB9 #944AD6 #B27CE1
Accessibility & contrast
On white
7.49
#762AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#762AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762AB9
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762AB9 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#684F71
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #762ab9; /* rgb */ color: rgb(118, 42, 185); /* oklch */ color: oklch(47.5% 0.209 303.2);
Tailwind
colors: {
custom: {
50: '#a46ccf',
500: '#762ab9',
950: '#000000',
},
}SCSS
$custom: #762ab9; $custom-light: #a46ccf; $custom-dark: #000000;
JSON
{
"hex": "#762ab9",
"rgb": {
"r": 118,
"g": 42,
"b": 185
},
"hsl": {
"h": 271.888,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.47454,
"c": 0.20855,
"h": 303.2
},
"luminance": 0.0901
}Semantic roles & 50–950 ramp
primary
#762AB9
secondary
#9DCA75
accent
#E6428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82