#762D9C#762D9C
#762D9C is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.176 H 311.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #762D9C |
|---|---|
| RGB | rgb(118, 45, 156) |
| HSL | hsl(279, 55%, 39%) |
| HSV | hsv(279, 71%, 61%) |
| CMYK | cmyk(24.4%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(34.25, 50.01, -46.69) |
| CIE-LCH | lch(34.25, 68.42, 316.97°) |
| OKLab | oklab(45.53% 0.1167 -0.1319) |
| OKLCH | oklch(45.53% 0.176 311.5) |
| XYZ | xyz(14.4092, 8.1290, 32.2560) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.46
Rebeccapurple
#663399
ΔE00 3.27
Darkmagenta
#8B008B
ΔE00 6.70
Purple
#800080
ΔE00 7.31
Warm Purple
#952E8F
ΔE00 7.93
Darkish Purple
#751973
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762D9C #539C2D
analogous
#3E2D9C #762D9C #9C2D8B
triadic
#762D9C #9C762D #2D9C76
tetradic
#762D9C #9C3E2D #539C2D #2D8B9C
square
#762D9C #9C3E2D #539C2D #2D8B9C
split-complementary
#762D9C #8B9C2D #2D9C3E
monochromatic
#2E123D #521F6D #762D9C #993FC8 #B26ED5
Accessibility & contrast
On white
8.00
#762D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#762D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762D9C
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762D9C | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#714561
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #762d9c; /* rgb */ color: rgb(118, 45, 156); /* oklch */ color: oklch(45.5% 0.176 311.5);
Tailwind
colors: {
custom: {
50: '#a16cba',
500: '#762d9c',
950: '#000000',
},
}SCSS
$custom: #762d9c; $custom-light: #a16cba; $custom-dark: #000000;
JSON
{
"hex": "#762d9c",
"rgb": {
"r": 118,
"g": 45,
"b": 156
},
"hsl": {
"h": 279.459,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.45526,
"c": 0.17614,
"h": 311.5
},
"luminance": 0.08129
}Semantic roles & 50–950 ramp
primary
#762D9C
secondary
#85BC68
accent
#DF497C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81