#7F3CC5#7F3CC5
#7F3CC5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.203 H 302.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CC5 |
|---|---|
| RGB | rgb(127, 60, 197) |
| HSL | hsl(269, 54%, 50%) |
| HSV | hsv(269, 70%, 77%) |
| CMYK | cmyk(35.5%, 69.5%, 0%, 22.7%) |
| CIE-LAB | lab(40.86, 54.51, -60.29) |
| CIE-LCH | lch(40.86, 81.28, 312.12°) |
| OKLab | oklab(51.43% 0.1075 -0.1717) |
| OKLCH | oklch(51.43% 0.203 302) |
| XYZ | xyz(20.4439, 11.7749, 54.0082) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.26
Darkorchid
#9932CC
ΔE00 4.52
Bluey Purple
#6241C7
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 5.34
Darkviolet
#9400D3
ΔE00 5.69
Burple
#6832E3
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CC5 #82C53C
analogous
#3C3DC5 #7F3CC5 #C33CC5
triadic
#7F3CC5 #C57F3C #3CC57F
tetradic
#7F3CC5 #C53C3D #82C53C #3CC5C3
square
#7F3CC5 #C53C3D #82C53C #3CC5C3
split-complementary
#7F3CC5 #C5C33C #3DC53C
monochromatic
#431F68 #612D97 #7F3CC5 #9E6BD3 #BD9AE1
Accessibility & contrast
On white
6.26
#7F3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7F3CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CC5
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CC5 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#705C7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3cc5; /* rgb */ color: rgb(127, 60, 197); /* oklch */ color: oklch(51.4% 0.203 302.0);
Tailwind
colors: {
custom: {
50: '#aa77d7',
500: '#7f3cc5',
950: '#000000',
},
}SCSS
$custom: #7f3cc5; $custom-light: #aa77d7; $custom-dark: #000000;
JSON
{
"hex": "#7f3cc5",
"rgb": {
"r": 127,
"g": 60,
"b": 197
},
"hsl": {
"h": 269.343,
"s": 54.15,
"l": 50.392
},
"oklch": {
"l": 0.51425,
"c": 0.20253,
"h": 302
},
"luminance": 0.11775
}Semantic roles & 50–950 ramp
primary
#7F3CC5
secondary
#AFCD90
accent
#DE4A96
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83