#7B3CE3#7B3CE3
#7B3CE3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.4% C 0.234 H 294.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7B3CE3 |
|---|---|
| RGB | rgb(123, 60, 227) |
| HSL | hsl(263, 75%, 56%) |
| HSV | hsv(263, 74%, 89%) |
| CMYK | cmyk(45.8%, 73.6%, 0%, 11%) |
| CIE-LAB | lab(42.75, 61.25, -74.49) |
| CIE-LCH | lch(42.75, 96.44, 309.43°) |
| OKLab | oklab(53.39% 0.0959 -0.2135) |
| OKLCH | oklch(53.39% 0.234 294.2) |
| XYZ | xyz(23.6456, 12.9880, 73.9192) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.75
Blueviolet
#8A2BE2
ΔE00 3.10
Burple
#6832E3
ΔE00 3.60
Purpleish Blue
#6140EF
ΔE00 3.93
Purpley Blue
#5F34E7
ΔE00 4.41
Violet
#8F00FF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B3CE3 #A4E33C
analogous
#3C51E3 #7B3CE3 #CF3CE3
triadic
#7B3CE3 #E37B3C #3CE37B
tetradic
#7B3CE3 #E33C51 #A4E33C #3CE3CF
square
#7B3CE3 #E33C51 #A4E33C #3CE3CF
split-complementary
#7B3CE3 #E3CF3C #51E33C
monochromatic
#431590 #5C1CC5 #7B3CE3 #9F72EB #C3A7F2
Accessibility & contrast
On white
5.84
#7B3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7B3CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B3CE3
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B3CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B3CE3 | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#5C698D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7b3ce3; /* rgb */ color: rgb(123, 60, 227); /* oklch */ color: oklch(53.4% 0.234 294.2);
Tailwind
colors: {
custom: {
50: '#aa78ed',
500: '#7b3ce3',
950: '#000000',
},
}SCSS
$custom: #7b3ce3; $custom-light: #aa78ed; $custom-dark: #000000;
JSON
{
"hex": "#7b3ce3",
"rgb": {
"r": 123,
"g": 60,
"b": 227
},
"hsl": {
"h": 262.635,
"s": 74.888,
"l": 56.275
},
"oklch": {
"l": 0.53392,
"c": 0.23407,
"h": 294.2
},
"luminance": 0.12989
}Semantic roles & 50–950 ramp
primary
#7B3CE3
secondary
#C6E09B
accent
#F236AB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84