#762A7D#762A7D
#762A7D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.150 H 324.3°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #762A7D |
|---|---|
| RGB | rgb(118, 42, 125) |
| HSL | hsl(295, 50%, 33%) |
| HSV | hsv(295, 66%, 49%) |
| CMYK | cmyk(5.6%, 66.4%, 0%, 51%) |
| CIE-LAB | lab(31.78, 44.88, -31.52) |
| CIE-LCH | lch(31.78, 54.85, 324.92°) |
| OKLab | oklab(43.12% 0.1217 -0.0875) |
| OKLCH | oklch(43.12% 0.15 324.3) |
| XYZ | xyz(12.0005, 6.9888, 20.1149) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.13
Purple
#800080
ΔE00 4.43
Darkmagenta
#8B008B
ΔE00 5.13
Purple (survey)
#7E1E9C
ΔE00 5.92
Warm Purple
#952E8F
ΔE00 6.34
Grape
#6C3461
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762A7D #317D2A
analogous
#4D2A7D #762A7D #7D2A5A
triadic
#762A7D #7D762A #2A7D76
tetradic
#762A7D #7D4D2A #317D2A #2A5A7D
square
#762A7D #7D4D2A #317D2A #2A5A7D
split-complementary
#762A7D #5A7D2A #2A7D4D
monochromatic
#200B21 #4B1B4F #762A7D #A139AB #BE5AC8
Accessibility & contrast
On white
8.76
#762A7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#762A7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762A7D
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762A7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762A7D | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#78374F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #762a7d; /* rgb */ color: rgb(118, 42, 125); /* oklch */ color: oklch(43.1% 0.150 324.3);
Tailwind
colors: {
custom: {
50: '#a06aa3',
500: '#762a7d',
950: '#000000',
},
}SCSS
$custom: #762a7d; $custom-light: #a06aa3; $custom-dark: #000000;
JSON
{
"hex": "#762a7d",
"rgb": {
"r": 118,
"g": 42,
"b": 125
},
"hsl": {
"h": 294.94,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.43116,
"c": 0.1499,
"h": 324.3
},
"luminance": 0.06988
}Semantic roles & 50–950 ramp
primary
#762A7D
secondary
#5DAD56
accent
#D94F5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F