#7B3FB2#7B3FB2
#7B3FB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.177 H 304.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3FB2 |
|---|---|
| RGB | rgb(123, 63, 178) |
| HSL | hsl(271, 48%, 47%) |
| HSV | hsv(271, 65%, 70%) |
| CMYK | cmyk(30.9%, 64.6%, 0%, 30.2%) |
| CIE-LAB | lab(39.55, 47.60, -51.28) |
| CIE-LCH | lch(39.55, 69.97, 312.86°) |
| OKLab | oklab(49.95% 0.1009 -0.1453) |
| OKLCH | oklch(49.95% 0.177 304.8) |
| XYZ | xyz(17.9800, 10.9804, 43.2831) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.04
Rebeccapurple
#663399
ΔE00 5.77
Purply
#983FB2
ΔE00 5.92
Darkorchid
#9932CC
ΔE00 5.98
Bluey Purple
#6241C7
ΔE00 6.05
Purple (survey)
#7E1E9C
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3FB2 #76B23F
analogous
#413FB2 #7B3FB2 #B23FB0
triadic
#7B3FB2 #B27B3F #3FB27B
tetradic
#7B3FB2 #B2413F #76B23F #3FB0B2
square
#7B3FB2 #B2413F #76B23F #3FB0B2
split-complementary
#7B3FB2 #B0B23F #3FB241
monochromatic
#3D1F58 #5C2F85 #7B3FB2 #9966C9 #B793D9
Accessibility & contrast
On white
6.57
#7B3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7B3FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3FB2
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3FB2 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#1F5DAF
Tritanopia (blue-blind)
#715873
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7b3fb2; /* rgb */ color: rgb(123, 63, 178); /* oklch */ color: oklch(50.0% 0.177 304.8);
Tailwind
colors: {
custom: {
50: '#a578ca',
500: '#7b3fb2',
950: '#000000',
},
}SCSS
$custom: #7b3fb2; $custom-light: #a578ca; $custom-dark: #000000;
JSON
{
"hex": "#7b3fb2",
"rgb": {
"r": 123,
"g": 63,
"b": 178
},
"hsl": {
"h": 271.304,
"s": 47.718,
"l": 47.255
},
"oklch": {
"l": 0.49952,
"c": 0.17694,
"h": 304.8
},
"luminance": 0.1098
}Semantic roles & 50–950 ramp
primary
#7B3FB2
secondary
#A5C489
accent
#D75091
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82