#762C78#762C78
#762C78 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 326.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #762C78 |
|---|---|
| RGB | rgb(118, 44, 120) |
| HSL | hsl(298, 46%, 32%) |
| HSV | hsv(298, 63%, 47%) |
| CMYK | cmyk(1.7%, 63.3%, 0%, 52.9%) |
| CIE-LAB | lab(31.83, 43.00, -28.31) |
| CIE-LCH | lch(31.83, 51.48, 326.64°) |
| OKLab | oklab(43.06% 0.1189 -0.0782) |
| OKLCH | oklch(43.06% 0.142 326.6) |
| XYZ | xyz(11.7618, 7.0097, 18.4992) |
| Luminance | 0.0701 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.20
Purple
#800080
ΔE00 5.11
Darkmagenta
#8B008B
ΔE00 5.87
Grape
#6C3461
ΔE00 6.31
Warm Purple
#952E8F
ΔE00 6.46
Bruise
#7E4071
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762C78 #2E782C
analogous
#502C78 #762C78 #782C54
triadic
#762C78 #78762C #2C7876
tetradic
#762C78 #78502C #2E782C #2C5478
square
#762C78 #78502C #2E782C #2C5478
split-complementary
#762C78 #54782C #2C7850
monochromatic
#1E0B1E #4A1C4B #762C78 #A23CA5 #C05BC3
Accessibility & contrast
On white
8.74
#762C78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#762C78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762C78
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762C78 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#3C4E76
Tritanopia (blue-blind)
#79364E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #762c78; /* rgb */ color: rgb(118, 44, 120); /* oklch */ color: oklch(43.1% 0.142 326.6);
Tailwind
colors: {
custom: {
50: '#a06b9f',
500: '#762c78',
950: '#000000',
},
}SCSS
$custom: #762c78; $custom-light: #a06b9f; $custom-dark: #000000;
JSON
{
"hex": "#762c78",
"rgb": {
"r": 118,
"g": 44,
"b": 120
},
"hsl": {
"h": 298.421,
"s": 46.341,
"l": 32.157
},
"oklch": {
"l": 0.43059,
"c": 0.1423,
"h": 326.6
},
"luminance": 0.07009
}Semantic roles & 50–950 ramp
primary
#762C78
secondary
#59A957
accent
#D65255
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E