#7F3BBE#7F3BBE
#7F3BBE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.196 H 303.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3BBE |
|---|---|
| RGB | rgb(127, 59, 190) |
| HSL | hsl(271, 53%, 49%) |
| HSV | hsv(271, 69%, 75%) |
| CMYK | cmyk(33.2%, 68.9%, 0%, 25.5%) |
| CIE-LAB | lab(40.18, 53.30, -57.30) |
| CIE-LCH | lch(40.18, 78.26, 312.93°) |
| OKLab | oklab(50.78% 0.1095 -0.1629) |
| OKLCH | oklch(50.78% 0.196 303.9) |
| XYZ | xyz(19.6085, 11.3577, 49.8644) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.65
Blueviolet
#8A2BE2
ΔE00 5.07
Bluey Purple
#6241C7
ΔE00 5.61
Darkviolet
#9400D3
ΔE00 5.75
Purply
#983FB2
ΔE00 6.06
Bluish Purple
#703BE7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3BBE #7ABE3B
analogous
#3E3BBE #7F3BBE #BE3BBC
triadic
#7F3BBE #BE7F3B #3BBE7F
tetradic
#7F3BBE #BE3E3B #7ABE3B #3BBCBE
square
#7F3BBE #BE3E3B #7ABE3B #3BBCBE
split-complementary
#7F3BBE #BCBE3B #3BBE3E
monochromatic
#411E61 #602C8F #7F3BBE #9D67D0 #BB95DE
Accessibility & contrast
On white
6.42
#7F3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#7F3BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3BBE
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3BBE | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#735978
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3bbe; /* rgb */ color: rgb(127, 59, 190); /* oklch */ color: oklch(50.8% 0.196 303.9);
Tailwind
colors: {
custom: {
50: '#a976d2',
500: '#7f3bbe',
950: '#000000',
},
}SCSS
$custom: #7f3bbe; $custom-light: #a976d2; $custom-dark: #000000;
JSON
{
"hex": "#7f3bbe",
"rgb": {
"r": 127,
"g": 59,
"b": 190
},
"hsl": {
"h": 271.145,
"s": 52.61,
"l": 48.824
},
"oklch": {
"l": 0.5078,
"c": 0.19629,
"h": 303.9
},
"luminance": 0.11358
}Semantic roles & 50–950 ramp
primary
#7F3BBE
secondary
#A9CA8B
accent
#DC4C91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83