#7726C5#7726C5
#7726C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.224 H 301.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7726C5 |
|---|---|
| RGB | rgb(119, 38, 197) |
| HSL | hsl(271, 68%, 46%) |
| HSV | hsv(271, 81%, 77%) |
| CMYK | cmyk(39.6%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(36.63, 62.27, -67.22) |
| CIE-LCH | lch(36.63, 91.63, 312.81°) |
| OKLab | oklab(48.23% 0.1153 -0.1922) |
| OKLCH | oklch(48.23% 0.224 301) |
| XYZ | xyz(18.3764, 9.3392, 53.6470) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.34
Darkviolet
#9400D3
ΔE00 4.69
Burple
#6832E3
ΔE00 5.13
Blueviolet
#8A2BE2
ΔE00 5.24
Purply Blue
#661AEE
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7726C5 #74C526
analogous
#2726C5 #7726C5 #C526C3
triadic
#7726C5 #C57726 #26C577
tetradic
#7726C5 #C52726 #74C526 #26C3C5
square
#7726C5 #C52726 #74C526 #26C3C5
split-complementary
#7726C5 #C3C526 #26C527
monochromatic
#39125E #581C92 #7726C5 #954CDC #B47FE6
Accessibility & contrast
On white
7.32
#7726C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7726C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7726C5
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7726C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7726C5 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#655377
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7726c5; /* rgb */ color: rgb(119, 38, 197); /* oklch */ color: oklch(48.2% 0.224 301.0);
Tailwind
colors: {
custom: {
50: '#a66bd8',
500: '#7726c5',
950: '#000000',
},
}SCSS
$custom: #7726c5; $custom-light: #a66bd8; $custom-dark: #000000;
JSON
{
"hex": "#7726c5",
"rgb": {
"r": 119,
"g": 38,
"b": 197
},
"hsl": {
"h": 270.566,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.48229,
"c": 0.22412,
"h": 301
},
"luminance": 0.09339
}Semantic roles & 50–950 ramp
primary
#7726C5
secondary
#A3CF78
accent
#EB3D92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83