#762EA5#762EA5
#762EA5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.184 H 308.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #762EA5 |
|---|---|
| RGB | rgb(118, 46, 165) |
| HSL | hsl(276, 56%, 41%) |
| HSV | hsv(276, 72%, 65%) |
| CMYK | cmyk(28.5%, 72.1%, 0%, 35.3%) |
| CIE-LAB | lab(35.05, 51.59, -50.83) |
| CIE-LCH | lch(35.05, 72.43, 315.42°) |
| OKLab | oklab(46.3% 0.1144 -0.1441) |
| OKLCH | oklch(46.3% 0.184 308.5) |
| XYZ | xyz(15.2383, 8.5224, 36.4322) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.25
Rebeccapurple
#663399
ΔE00 3.31
Darkviolet
#9400D3
ΔE00 7.44
Darkmagenta
#8B008B
ΔE00 7.81
Purple Blue
#5D21D0
ΔE00 7.96
Purply
#983FB2
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762EA5 #5DA52E
analogous
#3B2EA5 #762EA5 #A52E99
triadic
#762EA5 #A5762E #2EA576
tetradic
#762EA5 #A53B2E #5DA52E #2E99A5
square
#762EA5 #A53B2E #5DA52E #2E99A5
split-complementary
#762EA5 #99A52E #2EA53B
monochromatic
#321345 #542175 #762EA5 #9645CB #B175D8
Accessibility & contrast
On white
7.77
#762EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#762EA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762EA5
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762EA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762EA5 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0E53A2
Tritanopia (blue-blind)
#6F4966
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #762ea5; /* rgb */ color: rgb(118, 46, 165); /* oklch */ color: oklch(46.3% 0.184 308.5);
Tailwind
colors: {
custom: {
50: '#a26dc0',
500: '#762ea5',
950: '#000000',
},
}SCSS
$custom: #762ea5; $custom-light: #a26dc0; $custom-dark: #000000;
JSON
{
"hex": "#762ea5",
"rgb": {
"r": 118,
"g": 46,
"b": 165
},
"hsl": {
"h": 276.303,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.46297,
"c": 0.18402,
"h": 308.5
},
"luminance": 0.08522
}Semantic roles & 50–950 ramp
primary
#762EA5
secondary
#8FC06F
accent
#E04884
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81