#762ABB#762ABB
#762ABB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.211 H 302.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #762ABB |
|---|---|
| RGB | rgb(118, 42, 187) |
| HSL | hsl(271, 63%, 45%) |
| HSV | hsv(271, 78%, 73%) |
| CMYK | cmyk(36.9%, 77.5%, 0%, 26.7%) |
| CIE-LAB | lab(36.17, 58.32, -62.11) |
| CIE-LCH | lch(36.17, 85.20, 313.20°) |
| OKLab | oklab(47.62% 0.1136 -0.1772) |
| OKLCH | oklch(47.62% 0.211 302.7) |
| XYZ | xyz(17.2667, 9.0953, 47.8500) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 5.11
Darkviolet
#9400D3
ΔE00 5.36
Rebeccapurple
#663399
ΔE00 5.59
Purple (survey)
#7E1E9C
ΔE00 5.75
Bluey Purple
#6241C7
ΔE00 6.04
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762ABB #6FBB2A
analogous
#2D2ABB #762ABB #BB2AB8
triadic
#762ABB #BB762A #2ABB76
tetradic
#762ABB #BB2D2A #6FBB2A #2AB8BB
square
#762ABB #BB2D2A #6FBB2A #2AB8BB
split-complementary
#762ABB #B8BB2A #2ABB2D
monochromatic
#371457 #561F89 #762ABB #944CD7 #B27DE2
Accessibility & contrast
On white
7.45
#762ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#762ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762ABB
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762ABB | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#675072
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #762abb; /* rgb */ color: rgb(118, 42, 187); /* oklch */ color: oklch(47.6% 0.211 302.7);
Tailwind
colors: {
custom: {
50: '#a46cd0',
500: '#762abb',
950: '#000000',
},
}SCSS
$custom: #762abb; $custom-light: #a46cd0; $custom-dark: #000000;
JSON
{
"hex": "#762abb",
"rgb": {
"r": 118,
"g": 42,
"b": 187
},
"hsl": {
"h": 271.448,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.47619,
"c": 0.21053,
"h": 302.7
},
"luminance": 0.09095
}Semantic roles & 50–950 ramp
primary
#762ABB
secondary
#9ECA76
accent
#E64190
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82