#7B3FC4#7B3FC4
#7B3FC4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.197 H 300.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3FC4 |
|---|---|
| RGB | rgb(123, 63, 196) |
| HSL | hsl(267, 53%, 51%) |
| HSV | hsv(267, 68%, 77%) |
| CMYK | cmyk(37.2%, 67.9%, 0%, 23.1%) |
| CIE-LAB | lab(40.82, 52.03, -59.79) |
| CIE-LCH | lch(40.82, 79.26, 311.03°) |
| OKLab | oklab(51.27% 0.099 -0.1704) |
| OKLCH | oklch(51.27% 0.197 300.2) |
| XYZ | xyz(19.9072, 11.7513, 53.4333) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.45
Blueviolet
#8A2BE2
ΔE00 4.78
Bluish Purple
#703BE7
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.30
Burple
#6832E3
ΔE00 5.61
Royal Purple
#7851A9
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3FC4 #88C43F
analogous
#3F45C4 #7B3FC4 #BE3FC4
triadic
#7B3FC4 #C47B3F #3FC47B
tetradic
#7B3FC4 #C43F45 #88C43F #3FC4BE
square
#7B3FC4 #C43F45 #88C43F #3FC4BE
split-complementary
#7B3FC4 #C4BE3F #45C43F
monochromatic
#412068 #5E2E97 #7B3FC4 #9B6ED2 #BB9DE1
Accessibility & contrast
On white
6.27
#7B3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#7B3FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3FC4
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3FC4 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#6B5E7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7b3fc4; /* rgb */ color: rgb(123, 63, 196); /* oklch */ color: oklch(51.3% 0.197 300.2);
Tailwind
colors: {
custom: {
50: '#a778d7',
500: '#7b3fc4',
950: '#000000',
},
}SCSS
$custom: #7b3fc4; $custom-light: #a778d7; $custom-dark: #000000;
JSON
{
"hex": "#7b3fc4",
"rgb": {
"r": 123,
"g": 63,
"b": 196
},
"hsl": {
"h": 267.068,
"s": 52.988,
"l": 50.784
},
"oklch": {
"l": 0.51268,
"c": 0.19703,
"h": 300.2
},
"luminance": 0.11751
}Semantic roles & 50–950 ramp
primary
#7B3FC4
secondary
#B2CD92
accent
#DC4B9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83