#7F3ABF#7F3ABF
#7F3ABF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.7% C 0.199 H 303.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3ABF |
|---|---|
| RGB | rgb(127, 58, 191) |
| HSL | hsl(271, 53%, 49%) |
| HSV | hsv(271, 70%, 75%) |
| CMYK | cmyk(33.5%, 69.6%, 0%, 25.1%) |
| CIE-LAB | lab(40.08, 54.01, -58.05) |
| CIE-LCH | lch(40.08, 79.29, 312.94°) |
| OKLab | oklab(50.73% 0.1104 -0.1651) |
| OKLCH | oklch(50.73% 0.199 303.8) |
| XYZ | xyz(19.6673, 11.2998, 50.4251) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.61
Blueviolet
#8A2BE2
ΔE00 4.90
Darkviolet
#9400D3
ΔE00 5.57
Bluey Purple
#6241C7
ΔE00 5.57
Purply
#983FB2
ΔE00 6.19
Bluish Purple
#703BE7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3ABF #7ABF3A
analogous
#3D3ABF #7F3ABF #BF3ABD
triadic
#7F3ABF #BF7F3A #3ABF7F
tetradic
#7F3ABF #BF3D3A #7ABF3A #3ABDBF
square
#7F3ABF #BF3D3A #7ABF3A #3ABDBF
split-complementary
#7F3ABF #BDBF3A #3ABF3D
monochromatic
#411D61 #602C90 #7F3ABF #9D66D0 #BB95DF
Accessibility & contrast
On white
6.44
#7F3ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#7F3ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3ABF
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3ABF | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#735978
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f3abf; /* rgb */ color: rgb(127, 58, 191); /* oklch */ color: oklch(50.7% 0.199 303.8);
Tailwind
colors: {
custom: {
50: '#a976d3',
500: '#7f3abf',
950: '#000000',
},
}SCSS
$custom: #7f3abf; $custom-light: #a976d3; $custom-dark: #000000;
JSON
{
"hex": "#7f3abf",
"rgb": {
"r": 127,
"g": 58,
"b": 191
},
"hsl": {
"h": 271.128,
"s": 53.414,
"l": 48.824
},
"oklch": {
"l": 0.50734,
"c": 0.1986,
"h": 303.8
},
"luminance": 0.113
}Semantic roles & 50–950 ramp
primary
#7F3ABF
secondary
#A9CA8B
accent
#DD4B91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83