#762EA6#762EA6
#762EA6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.185 H 308.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #762EA6 |
|---|---|
| RGB | rgb(118, 46, 166) |
| HSL | hsl(276, 57%, 42%) |
| HSV | hsv(276, 72%, 65%) |
| CMYK | cmyk(28.9%, 72.3%, 0%, 34.9%) |
| CIE-LAB | lab(35.12, 51.82, -51.32) |
| CIE-LCH | lch(35.12, 72.93, 315.28°) |
| OKLab | oklab(46.37% 0.1143 -0.1455) |
| OKLCH | oklch(46.37% 0.185 308.1) |
| XYZ | xyz(15.3297, 8.5590, 36.9135) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.36
Rebeccapurple
#663399
ΔE00 3.36
Darkviolet
#9400D3
ΔE00 7.32
Purple Blue
#5D21D0
ΔE00 7.82
Bluey Purple
#6241C7
ΔE00 7.90
Darkmagenta
#8B008B
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762EA6 #5EA62E
analogous
#3A2EA6 #762EA6 #A62E9A
triadic
#762EA6 #A6762E #2EA676
tetradic
#762EA6 #A63A2E #5EA62E #2E9AA6
square
#762EA6 #A63A2E #5EA62E #2E9AA6
split-complementary
#762EA6 #9AA62E #2EA63A
monochromatic
#321346 #542176 #762EA6 #9646CC #B176D9
Accessibility & contrast
On white
7.74
#762EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#762EA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762EA6
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762EA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762EA6 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0A53A3
Tritanopia (blue-blind)
#6E4967
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #762ea6; /* rgb */ color: rgb(118, 46, 166); /* oklch */ color: oklch(46.4% 0.185 308.1);
Tailwind
colors: {
custom: {
50: '#a26dc1',
500: '#762ea6',
950: '#000000',
},
}SCSS
$custom: #762ea6; $custom-light: #a26dc1; $custom-dark: #000000;
JSON
{
"hex": "#762ea6",
"rgb": {
"r": 118,
"g": 46,
"b": 166
},
"hsl": {
"h": 276,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.46372,
"c": 0.18504,
"h": 308.1
},
"luminance": 0.08559
}Semantic roles & 50–950 ramp
primary
#762EA6
secondary
#90C16F
accent
#E04885
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81