#7F35C6#7F35C6
#7F35C6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.212 H 302.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F35C6 |
|---|---|
| RGB | rgb(127, 53, 198) |
| HSL | hsl(271, 58%, 49%) |
| HSV | hsv(271, 73%, 78%) |
| CMYK | cmyk(35.9%, 73.2%, 0%, 22.4%) |
| CIE-LAB | lab(39.81, 57.91, -62.58) |
| CIE-LCH | lch(39.81, 85.26, 312.78°) |
| OKLab | oklab(50.71% 0.1141 -0.1784) |
| OKLCH | oklch(50.71% 0.212 302.6) |
| XYZ | xyz(20.2161, 11.1354, 54.4994) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.88
Darkorchid
#9932CC
ΔE00 4.59
Darkviolet
#9400D3
ΔE00 4.70
Burple
#6832E3
ΔE00 5.39
Bluish Purple
#703BE7
ΔE00 5.40
Bluey Purple
#6241C7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F35C6 #7CC635
analogous
#3735C6 #7F35C6 #C635C5
triadic
#7F35C6 #C67F35 #35C67F
tetradic
#7F35C6 #C63735 #7CC635 #35C5C6
square
#7F35C6 #C63735 #7CC635 #35C5C6
split-complementary
#7F35C6 #C5C635 #35C637
monochromatic
#411B65 #602896 #7F35C6 #9D63D5 #BC93E2
Accessibility & contrast
On white
6.51
#7F35C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7F35C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F35C6
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F35C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F35C6 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#70597B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f35c6; /* rgb */ color: rgb(127, 53, 198); /* oklch */ color: oklch(50.7% 0.212 302.6);
Tailwind
colors: {
custom: {
50: '#aa73d8',
500: '#7f35c6',
950: '#000000',
},
}SCSS
$custom: #7f35c6; $custom-light: #aa73d8; $custom-dark: #000000;
JSON
{
"hex": "#7f35c6",
"rgb": {
"r": 127,
"g": 53,
"b": 198
},
"hsl": {
"h": 270.621,
"s": 57.769,
"l": 49.216
},
"oklch": {
"l": 0.50705,
"c": 0.21175,
"h": 302.6
},
"luminance": 0.11135
}Semantic roles & 50–950 ramp
primary
#7F35C6
secondary
#ABCD8A
accent
#E14792
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83