#762AC9#762AC9
#762AC9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.224 H 299.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #762AC9 |
|---|---|
| RGB | rgb(118, 42, 201) |
| HSL | hsl(269, 65%, 48%) |
| HSV | hsv(269, 79%, 79%) |
| CMYK | cmyk(41.3%, 79.1%, 0%, 21.2%) |
| CIE-LAB | lab(37.34, 61.60, -68.40) |
| CIE-LCH | lch(37.34, 92.05, 312.01°) |
| OKLab | oklab(48.8% 0.1098 -0.1957) |
| OKLCH | oklch(48.8% 0.224 299.3) |
| XYZ | xyz(18.8391, 9.7243, 56.1314) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.23
Burple
#6832E3
ΔE00 4.33
Blueviolet
#8A2BE2
ΔE00 4.69
Darkviolet
#9400D3
ΔE00 4.85
Purply Blue
#661AEE
ΔE00 5.04
Bluey Purple
#6241C7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762AC9 #7DC92A
analogous
#2A2EC9 #762AC9 #C52AC9
triadic
#762AC9 #C9762A #2AC976
tetradic
#762AC9 #C92A2E #7DC92A #2AC9C5
square
#762AC9 #C92A2E #7DC92A #2AC9C5
split-complementary
#762AC9 #C9C52A #2EC92A
monochromatic
#3B1564 #581F96 #762AC9 #9555DB #B587E6
Accessibility & contrast
On white
7.13
#762AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#762AC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762AC9
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762AC9 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#62567A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #762ac9; /* rgb */ color: rgb(118, 42, 201); /* oklch */ color: oklch(48.8% 0.224 299.3);
Tailwind
colors: {
custom: {
50: '#a56ddb',
500: '#762ac9',
950: '#000000',
},
}SCSS
$custom: #762ac9; $custom-light: #a56ddb; $custom-dark: #000000;
JSON
{
"hex": "#762ac9",
"rgb": {
"r": 118,
"g": 42,
"b": 201
},
"hsl": {
"h": 268.679,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.48802,
"c": 0.22437,
"h": 299.3
},
"luminance": 0.09725
}Semantic roles & 50–950 ramp
primary
#762AC9
secondary
#A9D07F
accent
#E83F98
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83