#7B3FC1#7B3FC1
#7B3FC1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.0% C 0.194 H 300.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3FC1 |
|---|---|
| RGB | rgb(123, 63, 193) |
| HSL | hsl(268, 51%, 50%) |
| HSV | hsv(268, 67%, 76%) |
| CMYK | cmyk(36.3%, 67.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.60, 51.28, -58.40) |
| CIE-LCH | lch(40.60, 77.72, 311.29°) |
| OKLab | oklab(51.04% 0.0994 -0.1663) |
| OKLCH | oklch(51.04% 0.194 300.9) |
| XYZ | xyz(19.5692, 11.6161, 51.6529) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.61
Blueviolet
#8A2BE2
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 5.33
Bluish Purple
#703BE7
ΔE00 5.56
Burple
#6832E3
ΔE00 5.96
Royal Purple
#7851A9
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3FC1 #85C13F
analogous
#3F44C1 #7B3FC1 #BC3FC1
triadic
#7B3FC1 #C17B3F #3FC17B
tetradic
#7B3FC1 #C13F44 #85C13F #3FC1BC
square
#7B3FC1 #C13F44 #85C13F #3FC1BC
split-complementary
#7B3FC1 #C1BC3F #44C13F
monochromatic
#402165 #5E3093 #7B3FC1 #9B6DD0 #BB9CDF
Accessibility & contrast
On white
6.32
#7B3FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#7B3FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3FC1
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3FC1 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#6C5D7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b3fc1; /* rgb */ color: rgb(123, 63, 193); /* oklch */ color: oklch(51.0% 0.194 300.9);
Tailwind
colors: {
custom: {
50: '#a678d5',
500: '#7b3fc1',
950: '#000000',
},
}SCSS
$custom: #7b3fc1; $custom-light: #a678d5; $custom-dark: #000000;
JSON
{
"hex": "#7b3fc1",
"rgb": {
"r": 123,
"g": 63,
"b": 193
},
"hsl": {
"h": 267.692,
"s": 51.181,
"l": 50.196
},
"oklch": {
"l": 0.51042,
"c": 0.1937,
"h": 300.9
},
"luminance": 0.11616
}Semantic roles & 50–950 ramp
primary
#7B3FC1
secondary
#B0CB91
accent
#DB4D99
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83