#7F33C5#7F33C5
#7F33C5 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.213 H 303.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F33C5 |
|---|---|
| RGB | rgb(127, 51, 197) |
| HSL | hsl(271, 59%, 49%) |
| HSV | hsv(271, 74%, 77%) |
| CMYK | cmyk(35.5%, 74.1%, 0%, 22.7%) |
| CIE-LAB | lab(39.43, 58.53, -62.61) |
| CIE-LCH | lch(39.43, 85.71, 313.07°) |
| OKLab | oklab(50.41% 0.1162 -0.1784) |
| OKLCH | oklch(50.41% 0.213 303.1) |
| XYZ | xyz(20.0119, 10.9109, 53.8642) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.01
Darkviolet
#9400D3
ΔE00 4.49
Darkorchid
#9932CC
ΔE00 4.68
Burple
#6832E3
ΔE00 5.48
Bluey Purple
#6241C7
ΔE00 5.59
Bluish Purple
#703BE7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F33C5 #79C533
analogous
#3633C5 #7F33C5 #C533C2
triadic
#7F33C5 #C57F33 #33C57F
tetradic
#7F33C5 #C53633 #79C533 #33C2C5
square
#7F33C5 #C53633 #79C533 #33C2C5
split-complementary
#7F33C5 #C2C533 #33C536
monochromatic
#401A64 #602694 #7F33C5 #9D5FD6 #BB90E2
Accessibility & contrast
On white
6.60
#7F33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#7F33C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F33C5
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F33C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F33C5 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#71587A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f33c5; /* rgb */ color: rgb(127, 51, 197); /* oklch */ color: oklch(50.4% 0.213 303.1);
Tailwind
colors: {
custom: {
50: '#aa72d8',
500: '#7f33c5',
950: '#000000',
},
}SCSS
$custom: #7f33c5; $custom-light: #aa72d8; $custom-dark: #000000;
JSON
{
"hex": "#7f33c5",
"rgb": {
"r": 127,
"g": 51,
"b": 197
},
"hsl": {
"h": 271.233,
"s": 58.871,
"l": 48.627
},
"oklch": {
"l": 0.50414,
"c": 0.21292,
"h": 303.1
},
"luminance": 0.10911
}Semantic roles & 50–950 ramp
primary
#7F33C5
secondary
#A8CD87
accent
#E24691
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83