#762B76#762B76
#762B76 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.142 H 327.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #762B76 |
|---|---|
| RGB | rgb(118, 43, 118) |
| HSL | hsl(300, 47%, 32%) |
| HSV | hsv(300, 64%, 46%) |
| CMYK | cmyk(0%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(31.55, 43.09, -27.48) |
| CIE-LCH | lch(31.55, 51.11, 327.47°) |
| OKLab | oklab(42.82% 0.12 -0.0758) |
| OKLCH | oklch(42.82% 0.142 327.7) |
| XYZ | xyz(11.6049, 6.8881, 17.8543) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.01
Purple
#800080
ΔE00 5.11
Darkmagenta
#8B008B
ΔE00 5.97
Grape
#6C3461
ΔE00 6.03
Warm Purple
#952E8F
ΔE00 6.63
Bruise
#7E4071
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762B76 #2B762B
analogous
#512B76 #762B76 #762B51
triadic
#762B76 #76762B #2B7676
tetradic
#762B76 #76512B #2B762B #2B5176
square
#762B76 #76512B #2B762B #2B5176
split-complementary
#762B76 #51762B #2B7651
monochromatic
#1C0A1C #491B49 #762B76 #A33BA3 #C259C2
Accessibility & contrast
On white
8.83
#762B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#762B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762B76
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762B76 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#3D4E74
Tritanopia (blue-blind)
#7A354C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #762b76; /* rgb */ color: rgb(118, 43, 118); /* oklch */ color: oklch(42.8% 0.142 327.7);
Tailwind
colors: {
custom: {
50: '#a06a9e',
500: '#762b76',
950: '#000000',
},
}SCSS
$custom: #762b76; $custom-light: #a06a9e; $custom-dark: #000000;
JSON
{
"hex": "#762b76",
"rgb": {
"r": 118,
"g": 43,
"b": 118
},
"hsl": {
"h": 300,
"s": 46.584,
"l": 31.569
},
"oklch": {
"l": 0.42821,
"c": 0.14197,
"h": 327.7
},
"luminance": 0.06887
}Semantic roles & 50–950 ramp
primary
#762B76
secondary
#55A855
accent
#D65252
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E