#762D9F#762D9F
#762D9F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.179 H 310.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #762D9F |
|---|---|
| RGB | rgb(118, 45, 159) |
| HSL | hsl(278, 56%, 40%) |
| HSV | hsv(278, 72%, 62%) |
| CMYK | cmyk(25.8%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(34.46, 50.68, -48.16) |
| CIE-LCH | lch(34.46, 69.91, 316.46°) |
| OKLab | oklab(45.74% 0.1163 -0.1363) |
| OKLCH | oklch(45.74% 0.179 310.5) |
| XYZ | xyz(14.6664, 8.2319, 33.6105) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.61
Rebeccapurple
#663399
ΔE00 3.21
Darkmagenta
#8B008B
ΔE00 7.03
Purple
#800080
ΔE00 7.71
Darkviolet
#9400D3
ΔE00 8.14
Purply
#983FB2
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762D9F #569F2D
analogous
#3D2D9F #762D9F #9F2D8F
triadic
#762D9F #9F762D #2D9F76
tetradic
#762D9F #9F3D2D #569F2D #2D8F9F
square
#762D9F #9F3D2D #569F2D #2D8F9F
split-complementary
#762D9F #8F9F2D #2D9F3D
monochromatic
#2F1240 #53206F #762D9F #9840C9 #B270D6
Accessibility & contrast
On white
7.94
#762D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#762D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762D9F
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762D9F | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1A529D
Tritanopia (blue-blind)
#704663
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #762d9f; /* rgb */ color: rgb(118, 45, 159); /* oklch */ color: oklch(45.7% 0.179 310.5);
Tailwind
colors: {
custom: {
50: '#a16cbc',
500: '#762d9f',
950: '#000000',
},
}SCSS
$custom: #762d9f; $custom-light: #a16cbc; $custom-dark: #000000;
JSON
{
"hex": "#762d9f",
"rgb": {
"r": 118,
"g": 45,
"b": 159
},
"hsl": {
"h": 278.421,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.45743,
"c": 0.17917,
"h": 310.5
},
"luminance": 0.08232
}Semantic roles & 50–950 ramp
primary
#762D9F
secondary
#88BE6A
accent
#DF497F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81