#762AAF#762AAF
#762AAF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 305.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #762AAF |
|---|---|
| RGB | rgb(118, 42, 175) |
| HSL | hsl(274, 61%, 43%) |
| HSV | hsv(274, 76%, 69%) |
| CMYK | cmyk(32.6%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(35.21, 55.56, -56.56) |
| CIE-LCH | lch(35.21, 79.28, 314.49°) |
| OKLab | oklab(46.65% 0.1165 -0.1609) |
| OKLCH | oklch(46.65% 0.199 305.9) |
| XYZ | xyz(16.0353, 8.6028, 41.3649) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.13
Rebeccapurple
#663399
ΔE00 4.27
Darkviolet
#9400D3
ΔE00 6.28
Purple Blue
#5D21D0
ΔE00 6.43
Bluey Purple
#6241C7
ΔE00 7.17
Darkorchid
#9932CC
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762AAF #63AF2A
analogous
#342AAF #762AAF #AF2AA5
triadic
#762AAF #AF762A #2AAF76
tetradic
#762AAF #AF342A #63AF2A #2AA5AF
square
#762AAF #AF342A #63AF2A #2AA5AF
split-complementary
#762AAF #A5AF2A #2AAF34
monochromatic
#33124C #551E7E #762AAF #9544D2 #B175DE
Accessibility & contrast
On white
7.72
#762AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#762AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762AAF
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762AAF | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6C4B6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #762aaf; /* rgb */ color: rgb(118, 42, 175); /* oklch */ color: oklch(46.6% 0.199 305.9);
Tailwind
colors: {
custom: {
50: '#a36cc8',
500: '#762aaf',
950: '#000000',
},
}SCSS
$custom: #762aaf; $custom-light: #a36cc8; $custom-dark: #000000;
JSON
{
"hex": "#762aaf",
"rgb": {
"r": 118,
"g": 42,
"b": 175
},
"hsl": {
"h": 274.286,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.46647,
"c": 0.19865,
"h": 305.9
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#762AAF
secondary
#94C66F
accent
#E44388
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82