#7626C7#7626C7
#7626C7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.226 H 300.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7626C7 |
|---|---|
| RGB | rgb(118, 38, 199) |
| HSL | hsl(270, 68%, 46%) |
| HSV | hsv(270, 81%, 78%) |
| CMYK | cmyk(40.7%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(36.67, 62.58, -68.33) |
| CIE-LCH | lch(36.67, 92.66, 312.49°) |
| OKLab | oklab(48.28% 0.1133 -0.1955) |
| OKLCH | oklch(48.28% 0.226 300.1) |
| XYZ | xyz(18.4705, 9.3611, 54.8555) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.09
Darkviolet
#9400D3
ΔE00 4.78
Burple
#6832E3
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.14
Purply Blue
#661AEE
ΔE00 5.20
Blue Violet
#5D06E9
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7626C7 #77C726
analogous
#2627C7 #7626C7 #C726C7
triadic
#7626C7 #C77626 #26C776
tetradic
#7626C7 #C72627 #77C726 #26C7C7
square
#7626C7 #C72627 #77C726 #26C7C7
split-complementary
#7626C7 #C7C726 #27C726
monochromatic
#391260 #581C94 #7626C7 #954DDD #B381E7
Accessibility & contrast
On white
7.31
#7626C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7626C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7626C7
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7626C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7626C7 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#635478
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7626c7; /* rgb */ color: rgb(118, 38, 199); /* oklch */ color: oklch(48.3% 0.226 300.1);
Tailwind
colors: {
custom: {
50: '#a56bd9',
500: '#7626c7',
950: '#000000',
},
}SCSS
$custom: #7626c7; $custom-light: #a56bd9; $custom-dark: #000000;
JSON
{
"hex": "#7626c7",
"rgb": {
"r": 118,
"g": 38,
"b": 199
},
"hsl": {
"h": 269.814,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.48282,
"c": 0.22589,
"h": 300.1
},
"luminance": 0.09361
}Semantic roles & 50–950 ramp
primary
#7626C7
secondary
#A5CF79
accent
#EB3D94
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83