#7626C5#7626C5
#7626C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.224 H 300.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7626C5 |
|---|---|
| RGB | rgb(118, 38, 197) |
| HSL | hsl(270, 68%, 46%) |
| HSV | hsv(270, 81%, 77%) |
| CMYK | cmyk(40.1%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(36.50, 62.12, -67.45) |
| CIE-LCH | lch(36.50, 91.70, 312.65°) |
| OKLab | oklab(48.11% 0.1139 -0.1929) |
| OKLCH | oklch(48.11% 0.224 300.6) |
| XYZ | xyz(18.2399, 9.2688, 53.6406) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.19
Darkviolet
#9400D3
ΔE00 4.83
Burple
#6832E3
ΔE00 5.07
Blueviolet
#8A2BE2
ΔE00 5.34
Purply Blue
#661AEE
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7626C5 #75C526
analogous
#2626C5 #7626C5 #C526C4
triadic
#7626C5 #C57626 #26C576
tetradic
#7626C5 #C52626 #75C526 #26C4C5
square
#7626C5 #C52626 #75C526 #26C4C5
split-complementary
#7626C5 #C4C526 #26C526
monochromatic
#39125E #571C92 #7626C5 #954CDC #B37FE6
Accessibility & contrast
On white
7.36
#7626C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7626C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7626C5
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7626C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7626C5 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#645377
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7626c5; /* rgb */ color: rgb(118, 38, 197); /* oklch */ color: oklch(48.1% 0.224 300.6);
Tailwind
colors: {
custom: {
50: '#a56bd8',
500: '#7626c5',
950: '#000000',
},
}SCSS
$custom: #7626c5; $custom-light: #a56bd8; $custom-dark: #000000;
JSON
{
"hex": "#7626c5",
"rgb": {
"r": 118,
"g": 38,
"b": 197
},
"hsl": {
"h": 270.189,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.48108,
"c": 0.22397,
"h": 300.6
},
"luminance": 0.09269
}Semantic roles & 50–950 ramp
primary
#7626C5
secondary
#A3CF78
accent
#EB3D93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83