#7F3BBF#7F3BBF
#7F3BBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.9% C 0.197 H 303.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3BBF |
|---|---|
| RGB | rgb(127, 59, 191) |
| HSL | hsl(271, 53%, 49%) |
| HSV | hsv(271, 69%, 75%) |
| CMYK | cmyk(33.5%, 69.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.25, 53.54, -57.77) |
| CIE-LCH | lch(40.25, 78.77, 312.82°) |
| OKLab | oklab(50.85% 0.1094 -0.1643) |
| OKLCH | oklch(50.85% 0.197 303.7) |
| XYZ | xyz(19.7182, 11.4016, 50.4420) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.61
Blueviolet
#8A2BE2
ΔE00 4.94
Bluey Purple
#6241C7
ΔE00 5.54
Darkviolet
#9400D3
ΔE00 5.71
Purply
#983FB2
ΔE00 6.14
Bluish Purple
#703BE7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3BBF #7BBF3B
analogous
#3D3BBF #7F3BBF #BF3BBD
triadic
#7F3BBF #BF7F3B #3BBF7F
tetradic
#7F3BBF #BF3D3B #7BBF3B #3BBDBF
square
#7F3BBF #BF3D3B #7BBF3B #3BBDBF
split-complementary
#7F3BBF #BDBF3B #3BBF3D
monochromatic
#411E61 #602D90 #7F3BBF #9D67D0 #BB96DF
Accessibility & contrast
On white
6.40
#7F3BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#7F3BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3BBF
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3BBF | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#735979
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3bbf; /* rgb */ color: rgb(127, 59, 191); /* oklch */ color: oklch(50.9% 0.197 303.7);
Tailwind
colors: {
custom: {
50: '#a976d3',
500: '#7f3bbf',
950: '#000000',
},
}SCSS
$custom: #7f3bbf; $custom-light: #a976d3; $custom-dark: #000000;
JSON
{
"hex": "#7f3bbf",
"rgb": {
"r": 127,
"g": 59,
"b": 191
},
"hsl": {
"h": 270.909,
"s": 52.8,
"l": 49.02
},
"oklch": {
"l": 0.50854,
"c": 0.19736,
"h": 303.7
},
"luminance": 0.11402
}Semantic roles & 50–950 ramp
primary
#7F3BBF
secondary
#AACA8C
accent
#DC4C92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83