#7B45BF#7B45BF
#7B45BF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.183 H 300.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7B45BF |
|---|---|
| RGB | rgb(123, 69, 191) |
| HSL | hsl(267, 49%, 51%) |
| HSV | hsv(267, 64%, 75%) |
| CMYK | cmyk(35.6%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(41.58, 47.71, -55.65) |
| CIE-LCH | lch(41.58, 73.30, 310.61°) |
| OKLab | oklab(51.7% 0.0929 -0.1582) |
| OKLCH | oklch(51.7% 0.183 300.4) |
| XYZ | xyz(19.6982, 12.2286, 50.6027) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.89
Royal Purple
#7851A9
ΔE00 4.98
Darkorchid
#9932CC
ΔE00 5.76
Blueviolet
#8A2BE2
ΔE00 5.96
Bluish Purple
#703BE7
ΔE00 6.07
Purply
#983FB2
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B45BF #89BF45
analogous
#454CBF #7B45BF #B845BF
triadic
#7B45BF #BF7B45 #45BF7B
tetradic
#7B45BF #BF454C #89BF45 #45BFB8
square
#7B45BF #BF454C #89BF45 #45BFB8
split-complementary
#7B45BF #BFB845 #4CBF45
monochromatic
#412366 #5E3394 #7B45BF #9B73CF #BCA0DE
Accessibility & contrast
On white
6.09
#7B45BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#7B45BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B45BF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B45BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B45BF | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1061BC
Tritanopia (blue-blind)
#6C607C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7b45bf; /* rgb */ color: rgb(123, 69, 191); /* oklch */ color: oklch(51.7% 0.183 300.4);
Tailwind
colors: {
custom: {
50: '#a67cd3',
500: '#7b45bf',
950: '#000000',
},
}SCSS
$custom: #7b45bf; $custom-light: #a67cd3; $custom-dark: #000000;
JSON
{
"hex": "#7b45bf",
"rgb": {
"r": 123,
"g": 69,
"b": 191
},
"hsl": {
"h": 266.557,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.51701,
"c": 0.18347,
"h": 300.4
},
"luminance": 0.12229
}Semantic roles & 50–950 ramp
primary
#7B45BF
secondary
#B3CB95
accent
#D84F9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83