#762F9F#762F9F
#762F9F is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.177 H 310.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #762F9F |
|---|---|
| RGB | rgb(118, 47, 159) |
| HSL | hsl(278, 54%, 40%) |
| HSV | hsv(278, 70%, 62%) |
| CMYK | cmyk(25.8%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(34.78, 49.79, -47.65) |
| CIE-LCH | lch(34.78, 68.92, 316.25°) |
| OKLab | oklab(45.97% 0.1142 -0.1348) |
| OKLCH | oklch(45.97% 0.177 310.3) |
| XYZ | xyz(14.7445, 8.3881, 33.6365) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.90
Rebeccapurple
#663399
ΔE00 3.13
Darkmagenta
#8B008B
ΔE00 7.22
Purple
#800080
ΔE00 7.92
Purply
#983FB2
ΔE00 7.94
Warm Purple
#952E8F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762F9F #589F2F
analogous
#3E2F9F #762F9F #9F2F90
triadic
#762F9F #9F762F #2F9F76
tetradic
#762F9F #9F3E2F #589F2F #2F909F
square
#762F9F #9F3E2F #589F2F #2F909F
split-complementary
#762F9F #909F2F #2F9F3E
monochromatic
#301341 #532170 #762F9F #9744C8 #B173D6
Accessibility & contrast
On white
7.84
#762F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#762F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762F9F
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762F9F | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#1D539D
Tritanopia (blue-blind)
#704763
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #762f9f; /* rgb */ color: rgb(118, 47, 159); /* oklch */ color: oklch(46.0% 0.177 310.3);
Tailwind
colors: {
custom: {
50: '#a16ebc',
500: '#762f9f',
950: '#000000',
},
}SCSS
$custom: #762f9f; $custom-light: #a16ebc; $custom-dark: #000000;
JSON
{
"hex": "#762f9f",
"rgb": {
"r": 118,
"g": 47,
"b": 159
},
"hsl": {
"h": 278.036,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.4597,
"c": 0.17664,
"h": 310.3
},
"luminance": 0.08388
}Semantic roles & 50–950 ramp
primary
#762F9F
secondary
#8ABD6D
accent
#DE4A80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81