#7F26C5#7F26C5
#7F26C5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.2% C 0.226 H 304.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7F26C5 |
|---|---|
| RGB | rgb(127, 38, 197) |
| HSL | hsl(274, 68%, 46%) |
| HSV | hsv(274, 81%, 77%) |
| CMYK | cmyk(35.5%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(37.72, 63.47, -65.40) |
| CIE-LCH | lch(37.72, 91.14, 314.14°) |
| OKLab | oklab(49.21% 0.1268 -0.1866) |
| OKLCH | oklch(49.21% 0.226 304.2) |
| XYZ | xyz(19.5212, 9.9295, 53.7007) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.60
Blueviolet
#8A2BE2
ΔE00 4.57
Darkorchid
#9932CC
ΔE00 5.56
Purple Blue
#5D21D0
ΔE00 5.66
Burple
#6832E3
ΔE00 5.76
Violet (survey)
#9A0EEA
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F26C5 #6CC526
analogous
#2F26C5 #7F26C5 #C526BB
triadic
#7F26C5 #C57F26 #26C57F
tetradic
#7F26C5 #C52F26 #6CC526 #26BBC5
square
#7F26C5 #C52F26 #6CC526 #26BBC5
split-complementary
#7F26C5 #BBC526 #26C52F
monochromatic
#3D125E #5E1C92 #7F26C5 #9D4CDC #B97FE6
Accessibility & contrast
On white
7.03
#7F26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#7F26C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F26C5
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F26C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F26C5 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#715277
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7f26c5; /* rgb */ color: rgb(127, 38, 197); /* oklch */ color: oklch(49.2% 0.226 304.2);
Tailwind
colors: {
custom: {
50: '#ab6cd8',
500: '#7f26c5',
950: '#000000',
},
}SCSS
$custom: #7f26c5; $custom-light: #ab6cd8; $custom-dark: #000000;
JSON
{
"hex": "#7f26c5",
"rgb": {
"r": 127,
"g": 38,
"b": 197
},
"hsl": {
"h": 273.585,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.49214,
"c": 0.22557,
"h": 304.2
},
"luminance": 0.09929
}Semantic roles & 50–950 ramp
primary
#7F26C5
secondary
#9ECF78
accent
#EB3D8A
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83