#7B3FC6#7B3FC6
#7B3FC6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.4% C 0.199 H 299.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3FC6 |
|---|---|
| RGB | rgb(123, 63, 198) |
| HSL | hsl(267, 54%, 51%) |
| HSV | hsv(267, 68%, 78%) |
| CMYK | cmyk(37.9%, 68.2%, 0%, 22.4%) |
| CIE-LAB | lab(40.97, 52.53, -60.72) |
| CIE-LCH | lch(40.97, 80.29, 310.86°) |
| OKLab | oklab(51.42% 0.0987 -0.1731) |
| OKLCH | oklch(51.42% 0.199 299.7) |
| XYZ | xyz(20.1364, 11.8430, 54.6402) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.37
Blueviolet
#8A2BE2
ΔE00 4.58
Bluish Purple
#703BE7
ΔE00 4.85
Darkorchid
#9932CC
ΔE00 5.30
Burple
#6832E3
ΔE00 5.39
Purpley Blue
#5F34E7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3FC6 #8AC63F
analogous
#3F46C6 #7B3FC6 #BF3FC6
triadic
#7B3FC6 #C67B3F #3FC67B
tetradic
#7B3FC6 #C63F46 #8AC63F #3FC6BF
square
#7B3FC6 #C63F46 #8AC63F #3FC6BF
split-complementary
#7B3FC6 #C6BF3F #46C63F
monochromatic
#41206B #5E2E9A #7B3FC6 #9B6ED4 #BC9DE2
Accessibility & contrast
On white
6.23
#7B3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7B3FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3FC6
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3FC6 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#6A5F7E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7b3fc6; /* rgb */ color: rgb(123, 63, 198); /* oklch */ color: oklch(51.4% 0.199 299.7);
Tailwind
colors: {
custom: {
50: '#a778d8',
500: '#7b3fc6',
950: '#000000',
},
}SCSS
$custom: #7b3fc6; $custom-light: #a778d8; $custom-dark: #000000;
JSON
{
"hex": "#7b3fc6",
"rgb": {
"r": 123,
"g": 63,
"b": 198
},
"hsl": {
"h": 266.667,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.5142,
"c": 0.19924,
"h": 299.7
},
"luminance": 0.11843
}Semantic roles & 50–950 ramp
primary
#7B3FC6
secondary
#B4CE93
accent
#DE4A9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83