#7F3BC1#7F3BC1
#7F3BC1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 51.0% C 0.199 H 303.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3BC1 |
|---|---|
| RGB | rgb(127, 59, 193) |
| HSL | hsl(270, 53%, 49%) |
| HSV | hsv(270, 69%, 76%) |
| CMYK | cmyk(34.2%, 69.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.39, 54.02, -58.71) |
| CIE-LCH | lch(40.39, 79.78, 312.62°) |
| OKLab | oklab(51% 0.1091 -0.167) |
| OKLCH | oklch(51% 0.199 303.2) |
| XYZ | xyz(19.9398, 11.4902, 51.6091) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.56
Blueviolet
#8A2BE2
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 5.40
Darkviolet
#9400D3
ΔE00 5.64
Bluish Purple
#703BE7
ΔE00 5.91
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3BC1 #7DC13B
analogous
#3C3BC1 #7F3BC1 #C13BC0
triadic
#7F3BC1 #C17F3B #3BC17F
tetradic
#7F3BC1 #C13C3B #7DC13B #3BC0C1
square
#7F3BC1 #C13C3B #7DC13B #3BC0C1
split-complementary
#7F3BC1 #C0C13B #3BC13C
monochromatic
#411E63 #602D92 #7F3BC1 #9D68D1 #BC97DF
Accessibility & contrast
On white
6.37
#7F3BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7F3BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3BC1
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3BC1 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#725A7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3bc1; /* rgb */ color: rgb(127, 59, 193); /* oklch */ color: oklch(51.0% 0.199 303.2);
Tailwind
colors: {
custom: {
50: '#a976d5',
500: '#7f3bc1',
950: '#000000',
},
}SCSS
$custom: #7f3bc1; $custom-light: #a976d5; $custom-dark: #000000;
JSON
{
"hex": "#7f3bc1",
"rgb": {
"r": 127,
"g": 59,
"b": 193
},
"hsl": {
"h": 270.448,
"s": 53.175,
"l": 49.412
},
"oklch": {
"l": 0.51004,
"c": 0.19949,
"h": 303.2
},
"luminance": 0.1149
}Semantic roles & 50–950 ramp
primary
#7F3BC1
secondary
#ABCB8D
accent
#DD4B93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83