#762CB0#762CB0
#762CB0 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.197 H 305.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #762CB0 |
|---|---|
| RGB | rgb(118, 44, 176) |
| HSL | hsl(274, 60%, 43%) |
| HSV | hsv(274, 75%, 69%) |
| CMYK | cmyk(33%, 75%, 0%, 31%) |
| CIE-LAB | lab(35.57, 54.97, -56.56) |
| CIE-LCH | lch(35.57, 78.87, 314.18°) |
| OKLab | oklab(46.93% 0.1144 -0.1609) |
| OKLCH | oklch(46.93% 0.197 305.4) |
| XYZ | xyz(16.2066, 8.7876, 41.9083) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.28
Purple (survey)
#7E1E9C
ΔE00 4.40
Darkviolet
#9400D3
ΔE00 6.24
Purple Blue
#5D21D0
ΔE00 6.39
Bluey Purple
#6241C7
ΔE00 6.87
Darkorchid
#9932CC
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#762CB0 #66B02C
analogous
#342CB0 #762CB0 #B02CA8
triadic
#762CB0 #B0762C #2CB076
tetradic
#762CB0 #B0342C #66B02C #2CA8B0
square
#762CB0 #B0342C #66B02C #2CA8B0
split-complementary
#762CB0 #A8B02C #2CB034
monochromatic
#34144E #55207F #762CB0 #9548D1 #B179DD
Accessibility & contrast
On white
7.62
#762CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#762CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #762CB0
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##762CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##762CB0 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#6B4D6C
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #762cb0; /* rgb */ color: rgb(118, 44, 176); /* oklch */ color: oklch(46.9% 0.197 305.4);
Tailwind
colors: {
custom: {
50: '#a36dc8',
500: '#762cb0',
950: '#000000',
},
}SCSS
$custom: #762cb0; $custom-light: #a36dc8; $custom-dark: #000000;
JSON
{
"hex": "#762cb0",
"rgb": {
"r": 118,
"g": 44,
"b": 176
},
"hsl": {
"h": 273.636,
"s": 60,
"l": 43.137
},
"oklch": {
"l": 0.46928,
"c": 0.19747,
"h": 305.4
},
"luminance": 0.08788
}Semantic roles & 50–950 ramp
primary
#762CB0
secondary
#97C672
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82