#7B45E6#7B45E6
#7B45E6 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.228 H 292.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7B45E6 |
|---|---|
| RGB | rgb(123, 69, 230) |
| HSL | hsl(260, 76%, 59%) |
| HSV | hsv(260, 70%, 90%) |
| CMYK | cmyk(46.5%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(44.49, 57.81, -73.34) |
| CIE-LCH | lch(44.49, 93.39, 308.24°) |
| OKLab | oklab(54.7% 0.0875 -0.2102) |
| OKLCH | oklch(54.7% 0.228 292.6) |
| XYZ | xyz(24.5755, 14.1795, 76.2896) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.80
Purpleish Blue
#6140EF
ΔE00 3.98
Blueviolet
#8A2BE2
ΔE00 4.64
Purpley
#8756E4
ΔE00 4.67
Burple
#6832E3
ΔE00 5.06
Purpley Blue
#5F34E7
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B45E6 #B0E645
analogous
#455FE6 #7B45E6 #CB45E6
triadic
#7B45E6 #E67B45 #45E67B
tetradic
#7B45E6 #E6455F #B0E645 #45E6CB
square
#7B45E6 #E6455F #B0E645 #45E6CB
split-complementary
#7B45E6 #E6CB45 #5FE645
monochromatic
#42159C #591CD2 #7B45E6 #A17BED #C8B1F5
Accessibility & contrast
On white
5.47
#7B45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7B45E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B45E6
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B45E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B45E6 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0066E3
Tritanopia (blue-blind)
#5A6E91
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b45e6; /* rgb */ color: rgb(123, 69, 230); /* oklch */ color: oklch(54.7% 0.228 292.6);
Tailwind
colors: {
custom: {
50: '#aa7def',
500: '#7b45e6',
950: '#000000',
},
}SCSS
$custom: #7b45e6; $custom-light: #aa7def; $custom-dark: #000000;
JSON
{
"hex": "#7b45e6",
"rgb": {
"r": 123,
"g": 69,
"b": 230
},
"hsl": {
"h": 260.124,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.54701,
"c": 0.2277,
"h": 292.6
},
"luminance": 0.1418
}Semantic roles & 50–950 ramp
primary
#7B45E6
secondary
#CEE3A4
accent
#F335B3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85