#7626C4#7626C4
#7626C4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.0% C 0.223 H 300.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7626C4 |
|---|---|
| RGB | rgb(118, 38, 196) |
| HSL | hsl(270, 68%, 46%) |
| HSV | hsv(270, 81%, 77%) |
| CMYK | cmyk(39.8%, 80.6%, 0%, 23.1%) |
| CIE-LAB | lab(36.41, 61.89, -67.00) |
| CIE-LCH | lch(36.41, 91.21, 312.73°) |
| OKLab | oklab(48.02% 0.1142 -0.1916) |
| OKLCH | oklch(48.02% 0.223 300.8) |
| XYZ | xyz(18.1257, 9.2231, 53.0392) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.24
Darkviolet
#9400D3
ΔE00 4.86
Burple
#6832E3
ΔE00 5.20
Blueviolet
#8A2BE2
ΔE00 5.44
Purply Blue
#661AEE
ΔE00 5.58
Bluey Purple
#6241C7
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7626C4 #74C426
analogous
#2726C4 #7626C4 #C426C3
triadic
#7626C4 #C47626 #26C476
tetradic
#7626C4 #C42726 #74C426 #26C3C4
square
#7626C4 #C42726 #74C426 #26C3C4
split-complementary
#7626C4 #C3C426 #26C427
monochromatic
#38125D #571C91 #7626C4 #954BDC #B37EE6
Accessibility & contrast
On white
7.38
#7626C4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#7626C4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7626C4
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7626C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7626C4 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#645276
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7626c4; /* rgb */ color: rgb(118, 38, 196); /* oklch */ color: oklch(48.0% 0.223 300.8);
Tailwind
colors: {
custom: {
50: '#a56bd7',
500: '#7626c4',
950: '#000000',
},
}SCSS
$custom: #7626c4; $custom-light: #a56bd7; $custom-dark: #000000;
JSON
{
"hex": "#7626c4",
"rgb": {
"r": 118,
"g": 38,
"b": 196
},
"hsl": {
"h": 270.38,
"s": 67.521,
"l": 45.882
},
"oklch": {
"l": 0.48022,
"c": 0.22301,
"h": 300.8
},
"luminance": 0.09223
}Semantic roles & 50–950 ramp
primary
#7626C4
secondary
#A2CE77
accent
#EA3D93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83