#762CCA#762CCA
#762CCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.224 H 298.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #762CCA |
|---|---|
| RGB | rgb(118, 44, 202) |
| HSL | hsl(268, 64%, 48%) |
| HSV | hsv(268, 78%, 79%) |
| CMYK | cmyk(41.6%, 78.2%, 0%, 20.8%) |
| CIE-LAB | lab(37.69, 61.07, -68.40) |
| CIE-LCH | lch(37.69, 91.70, 311.76°) |
| OKLab | oklab(49.07% 0.108 -0.1957) |
| OKLCH | oklch(49.07% 0.224 298.9) |
| XYZ | xyz(19.0298, 9.9169, 56.7772) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Burple
#6832E3
ΔE00 4.11
Purple Blue
#5D21D0
ΔE00 4.34
Blueviolet
#8A2BE2
ΔE00 4.49
Darkviolet
#9400D3
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 4.99
Purply Blue
#661AEE
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762CCA #80CA2C
analogous
#2C31CA #762CCA #C52CCA
triadic
#762CCA #CA762C #2CCA76
tetradic
#762CCA #CA2C31 #80CA2C #2CCAC5
square
#762CCA #CA2C31 #80CA2C #2CCAC5
split-complementary
#762CCA #CAC52C #31CA2C
monochromatic
#3B1665 #592198 #762CCA #9558DB #B58BE6
Accessibility & contrast
On white
7.04
#762CCA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#762CCA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762CCA
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762CCA | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#61577B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #762cca; /* rgb */ color: rgb(118, 44, 202); /* oklch */ color: oklch(49.1% 0.224 298.9);
Tailwind
colors: {
custom: {
50: '#a56edb',
500: '#762cca',
950: '#000000',
},
}SCSS
$custom: #762cca; $custom-light: #a56edb; $custom-dark: #000000;
JSON
{
"hex": "#762cca",
"rgb": {
"r": 118,
"g": 44,
"b": 202
},
"hsl": {
"h": 268.101,
"s": 64.228,
"l": 48.235
},
"oklch": {
"l": 0.49072,
"c": 0.22353,
"h": 298.9
},
"luminance": 0.09917
}Semantic roles & 50–950 ramp
primary
#762CCA
secondary
#ABD082
accent
#E74199
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83