#762AB3#762AB3
#762AB3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 304.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #762AB3 |
|---|---|
| RGB | rgb(118, 42, 179) |
| HSL | hsl(273, 62%, 43%) |
| HSV | hsv(273, 77%, 70%) |
| CMYK | cmyk(34.1%, 76.5%, 0%, 29.8%) |
| CIE-LAB | lab(35.52, 56.47, -58.43) |
| CIE-LCH | lch(35.52, 81.26, 314.02°) |
| OKLab | oklab(46.97% 0.1156 -0.1664) |
| OKLCH | oklch(46.97% 0.203 304.8) |
| XYZ | xyz(16.4340, 8.7622, 43.4646) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.67
Rebeccapurple
#663399
ΔE00 4.68
Darkviolet
#9400D3
ΔE00 5.93
Purple Blue
#5D21D0
ΔE00 5.94
Bluey Purple
#6241C7
ΔE00 6.75
Blueviolet
#8A2BE2
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762AB3 #67B32A
analogous
#322AB3 #762AB3 #B32AAB
triadic
#762AB3 #B3762A #2AB376
tetradic
#762AB3 #B3322A #67B32A #2AABB3
square
#762AB3 #B3322A #67B32A #2AABB3
split-complementary
#762AB3 #ABB32A #2AB332
monochromatic
#351350 #551E81 #762AB3 #9546D4 #B178DF
Accessibility & contrast
On white
7.63
#762AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#762AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762AB3
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762AB3 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6A4D6D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #762ab3; /* rgb */ color: rgb(118, 42, 179); /* oklch */ color: oklch(47.0% 0.203 304.8);
Tailwind
colors: {
custom: {
50: '#a36ccb',
500: '#762ab3',
950: '#000000',
},
}SCSS
$custom: #762ab3; $custom-light: #a36ccb; $custom-dark: #000000;
JSON
{
"hex": "#762ab3",
"rgb": {
"r": 118,
"g": 42,
"b": 179
},
"hsl": {
"h": 273.285,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.46967,
"c": 0.20261,
"h": 304.8
},
"luminance": 0.08762
}Semantic roles & 50–950 ramp
primary
#762AB3
secondary
#98C772
accent
#E5438B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82