#7726C7#7726C7
#7726C7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.226 H 300.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7726C7 |
|---|---|
| RGB | rgb(119, 38, 199) |
| HSL | hsl(270, 68%, 46%) |
| HSV | hsv(270, 81%, 78%) |
| CMYK | cmyk(40.2%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(36.80, 62.73, -68.11) |
| CIE-LCH | lch(36.80, 92.59, 312.65°) |
| OKLab | oklab(48.4% 0.1147 -0.1948) |
| OKLCH | oklch(48.4% 0.226 300.5) |
| XYZ | xyz(18.6071, 9.4315, 54.8619) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.25
Darkviolet
#9400D3
ΔE00 4.64
Burple
#6832E3
ΔE00 4.88
Blueviolet
#8A2BE2
ΔE00 5.04
Purply Blue
#661AEE
ΔE00 5.28
Blue Violet
#5D06E9
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7726C7 #76C726
analogous
#2726C7 #7726C7 #C726C7
triadic
#7726C7 #C77726 #26C777
tetradic
#7726C7 #C72726 #76C726 #26C7C7
square
#7726C7 #C72726 #76C726 #26C7C7
split-complementary
#7726C7 #C7C726 #26C727
monochromatic
#3A1260 #581C94 #7726C7 #964DDD #B481E7
Accessibility & contrast
On white
7.28
#7726C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#7726C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7726C7
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7726C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7726C7 | 1.00 | 7.28 | 2.89 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#645478
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7726c7; /* rgb */ color: rgb(119, 38, 199); /* oklch */ color: oklch(48.4% 0.226 300.5);
Tailwind
colors: {
custom: {
50: '#a66bd9',
500: '#7726c7',
950: '#000000',
},
}SCSS
$custom: #7726c7; $custom-light: #a66bd9; $custom-dark: #000000;
JSON
{
"hex": "#7726c7",
"rgb": {
"r": 119,
"g": 38,
"b": 199
},
"hsl": {
"h": 270.186,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.48402,
"c": 0.22604,
"h": 300.5
},
"luminance": 0.09432
}Semantic roles & 50–950 ramp
primary
#7726C7
secondary
#A4CF79
accent
#EB3D93
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83