#7B48CF#7B48CF
#7B48CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.198 H 296.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7B48CF |
|---|---|
| RGB | rgb(123, 72, 207) |
| HSL | hsl(263, 58%, 55%) |
| HSV | hsv(263, 65%, 81%) |
| CMYK | cmyk(40.6%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(43.29, 50.26, -62.16) |
| CIE-LCH | lch(43.29, 79.94, 308.96°) |
| OKLab | oklab(53.29% 0.0881 -0.1773) |
| OKLCH | oklch(53.29% 0.198 296.4) |
| XYZ | xyz(21.7453, 13.3503, 60.4506) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 4.75
Blueviolet
#8A2BE2
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 5.55
Purpleish Blue
#6140EF
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B48CF #9CCF48
analogous
#4858CF #7B48CF #BF48CF
triadic
#7B48CF #CF7B48 #48CF7B
tetradic
#7B48CF #CF4858 #9CCF48 #48CFBF
square
#7B48CF #CF4858 #9CCF48 #48CFBF
split-complementary
#7B48CF #CFBF48 #58CF48
monochromatic
#43217C #5D2DAD #7B48CF #9E78DC #C1A9E8
Accessibility & contrast
On white
5.72
#7B48CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7B48CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B48CF
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B48CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B48CF | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#666785
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7b48cf; /* rgb */ color: rgb(123, 72, 207); /* oklch */ color: oklch(53.3% 0.198 296.4);
Tailwind
colors: {
custom: {
50: '#a77edf',
500: '#7b48cf',
950: '#000000',
},
}SCSS
$custom: #7b48cf; $custom-light: #a77edf; $custom-dark: #000000;
JSON
{
"hex": "#7b48cf",
"rgb": {
"r": 123,
"g": 72,
"b": 207
},
"hsl": {
"h": 262.667,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.53293,
"c": 0.19801,
"h": 296.4
},
"luminance": 0.13351
}Semantic roles & 50–950 ramp
primary
#7B48CF
secondary
#C0D69D
accent
#E246A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83