#7F3FBF#7F3FBF
#7F3FBF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.192 H 303.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3FBF |
|---|---|
| RGB | rgb(127, 63, 191) |
| HSL | hsl(270, 50%, 50%) |
| HSV | hsv(270, 67%, 75%) |
| CMYK | cmyk(33.5%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(40.94, 51.61, -56.65) |
| CIE-LCH | lch(40.94, 76.64, 312.34°) |
| OKLab | oklab(51.35% 0.1051 -0.161) |
| OKLCH | oklch(51.35% 0.192 303.1) |
| XYZ | xyz(19.9317, 11.8286, 50.5132) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.71
Blueviolet
#8A2BE2
ΔE00 5.20
Bluey Purple
#6241C7
ΔE00 5.48
Royal Purple
#7851A9
ΔE00 5.88
Purply
#983FB2
ΔE00 5.99
Bluish Purple
#703BE7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3FBF #7FBF3F
analogous
#3F3FBF #7F3FBF #BF3FBF
triadic
#7F3FBF #BF7F3F #3FBF7F
tetradic
#7F3FBF #BF3F3F #7FBF3F #3FBFBF
square
#7F3FBF #BF3F3F #7FBF3F #3FBFBF
split-complementary
#7F3FBF #BFBF3F #3FBF3F
monochromatic
#422163 #603091 #7F3FBF #9E6DCF #BC9BDE
Accessibility & contrast
On white
6.24
#7F3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7F3FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3FBF
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3FBF | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0660BC
Tritanopia (blue-blind)
#725C7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7f3fbf; /* rgb */ color: rgb(127, 63, 191); /* oklch */ color: oklch(51.3% 0.192 303.1);
Tailwind
colors: {
custom: {
50: '#a978d3',
500: '#7f3fbf',
950: '#000000',
},
}SCSS
$custom: #7f3fbf; $custom-light: #a978d3; $custom-dark: #000000;
JSON
{
"hex": "#7f3fbf",
"rgb": {
"r": 127,
"g": 63,
"b": 191
},
"hsl": {
"h": 270,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.5135,
"c": 0.19226,
"h": 303.1
},
"luminance": 0.11829
}Semantic roles & 50–950 ramp
primary
#7F3FBF
secondary
#ADCA90
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83