#762B9F#762B9F
#762B9F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.182 H 310.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #762B9F |
|---|---|
| RGB | rgb(118, 43, 159) |
| HSL | hsl(279, 57%, 40%) |
| HSV | hsv(279, 73%, 62%) |
| CMYK | cmyk(25.8%, 73%, 0%, 37.6%) |
| CIE-LAB | lab(34.15, 51.54, -48.66) |
| CIE-LCH | lch(34.15, 70.88, 316.65°) |
| OKLab | oklab(45.53% 0.1184 -0.1377) |
| OKLCH | oklch(45.53% 0.182 310.7) |
| XYZ | xyz(14.5919, 8.0828, 33.5856) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.36
Rebeccapurple
#663399
ΔE00 3.33
Darkmagenta
#8B008B
ΔE00 6.87
Purple
#800080
ΔE00 7.52
Darkviolet
#9400D3
ΔE00 8.08
Warm Purple
#952E8F
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762B9F #549F2B
analogous
#3C2B9F #762B9F #9F2B8E
triadic
#762B9F #9F762B #2B9F76
tetradic
#762B9F #9F3C2B #549F2B #2B8E9F
square
#762B9F #9F3C2B #549F2B #2B8E9F
split-complementary
#762B9F #8E9F2B #2B9F3C
monochromatic
#2E113F #521E6F #762B9F #983DCA #B26DD7
Accessibility & contrast
On white
8.03
#762B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#762B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762B9F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762B9F | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#714562
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #762b9f; /* rgb */ color: rgb(118, 43, 159); /* oklch */ color: oklch(45.5% 0.182 310.7);
Tailwind
colors: {
custom: {
50: '#a26bbc',
500: '#762b9f',
950: '#000000',
},
}SCSS
$custom: #762b9f; $custom-light: #a26bbc; $custom-dark: #000000;
JSON
{
"hex": "#762b9f",
"rgb": {
"r": 118,
"g": 43,
"b": 159
},
"hsl": {
"h": 278.793,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.45526,
"c": 0.18162,
"h": 310.7
},
"luminance": 0.08083
}Semantic roles & 50–950 ramp
primary
#762B9F
secondary
#86BE67
accent
#E1477D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81