#7A50BB#7A50BB
#7A50BB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.163 H 298.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A50BB |
|---|---|
| RGB | rgb(122, 80, 187) |
| HSL | hsl(264, 44%, 52%) |
| HSV | hsv(264, 57%, 73%) |
| CMYK | cmyk(34.8%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(43.45, 40.45, -50.30) |
| CIE-LCH | lch(43.45, 64.55, 308.81°) |
| OKLab | oklab(52.96% 0.0785 -0.1425) |
| OKLCH | oklch(52.96% 0.163 298.8) |
| XYZ | xyz(19.8621, 13.4625, 48.5562) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.21
Light Indigo
#6D5ACF
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.63
Iris
#6258C4
ΔE00 5.98
Deep Lavender
#8D5EB7
ΔE00 6.09
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A50BB #91BB50
analogous
#505CBB #7A50BB #AF50BB
triadic
#7A50BB #BB7A50 #50BB7A
tetradic
#7A50BB #BB505C #91BB50 #50BBAF
square
#7A50BB #BB505C #91BB50 #50BBAF
split-complementary
#7A50BB #BBAF50 #5CBB50
monochromatic
#412868 #5D3A94 #7A50BB #9B7CCC #BDA8DD
Accessibility & contrast
On white
5.69
#7A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7A50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A50BB
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A50BB | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#6C667E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7a50bb; /* rgb */ color: rgb(122, 80, 187); /* oklch */ color: oklch(53.0% 0.163 298.8);
Tailwind
colors: {
custom: {
50: '#a483d0',
500: '#7a50bb',
950: '#000000',
},
}SCSS
$custom: #7a50bb; $custom-light: #a483d0; $custom-dark: #000000;
JSON
{
"hex": "#7a50bb",
"rgb": {
"r": 122,
"g": 80,
"b": 187
},
"hsl": {
"h": 263.551,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.52958,
"c": 0.1627,
"h": 298.8
},
"luminance": 0.13463
}Semantic roles & 50–950 ramp
primary
#7A50BB
secondary
#B8CB9C
accent
#D454A2
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82