#7626C1#7626C1
#7626C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.220 H 301.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7626C1 |
|---|---|
| RGB | rgb(118, 38, 193) |
| HSL | hsl(271, 67%, 45%) |
| HSV | hsv(271, 80%, 76%) |
| CMYK | cmyk(38.9%, 80.3%, 0%, 24.3%) |
| CIE-LAB | lab(36.15, 61.20, -65.67) |
| CIE-LCH | lch(36.15, 89.76, 312.98°) |
| OKLab | oklab(47.76% 0.1151 -0.1876) |
| OKLCH | oklch(47.76% 0.22 301.5) |
| XYZ | xyz(17.7876, 9.0879, 51.2588) |
| Luminance | 0.0909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.44
Darkviolet
#9400D3
ΔE00 4.98
Burple
#6832E3
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.75
Purply Blue
#661AEE
ΔE00 5.97
Bluey Purple
#6241C7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7626C1 #71C126
analogous
#2926C1 #7626C1 #C126BE
triadic
#7626C1 #C17626 #26C176
tetradic
#7626C1 #C12926 #71C126 #26BEC1
square
#7626C1 #C12926 #71C126 #26BEC1
split-complementary
#7626C1 #BEC126 #26C129
monochromatic
#37125B #571C8E #7626C1 #9449DB #B27CE5
Accessibility & contrast
On white
7.45
#7626C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#7626C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7626C1
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7626C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7626C1 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#655175
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7626c1; /* rgb */ color: rgb(118, 38, 193); /* oklch */ color: oklch(47.8% 0.220 301.5);
Tailwind
colors: {
custom: {
50: '#a56bd5',
500: '#7626c1',
950: '#000000',
},
}SCSS
$custom: #7626c1; $custom-light: #a56bd5; $custom-dark: #000000;
JSON
{
"hex": "#7626c1",
"rgb": {
"r": 118,
"g": 38,
"b": 193
},
"hsl": {
"h": 270.968,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.47764,
"c": 0.22011,
"h": 301.5
},
"luminance": 0.09088
}Semantic roles & 50–950 ramp
primary
#7626C1
secondary
#A0CD75
accent
#EA3E91
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83