#7B50C8#7B50C8
#7B50C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.179 H 296.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7B50C8 |
|---|---|
| RGB | rgb(123, 80, 200) |
| HSL | hsl(262, 52%, 55%) |
| HSV | hsv(262, 60%, 78%) |
| CMYK | cmyk(38.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(44.40, 44.11, -56.32) |
| CIE-LCH | lch(44.40, 71.53, 308.07°) |
| OKLab | oklab(53.95% 0.0796 -0.1602) |
| OKLCH | oklch(53.95% 0.179 296.4) |
| XYZ | xyz(21.4597, 14.1180, 56.2268) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 4.65
Purpley
#8756E4
ΔE00 4.92
Royal Purple
#7851A9
ΔE00 5.27
Iris
#6258C4
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B50C8 #9DC850
analogous
#5061C8 #7B50C8 #B750C8
triadic
#7B50C8 #C87B50 #50C87B
tetradic
#7B50C8 #C85061 #9DC850 #50C8B7
square
#7B50C8 #C85061 #9DC850 #50C8B7
split-complementary
#7B50C8 #C8B750 #61C850
monochromatic
#432678 #5D34A6 #7B50C8 #9E7FD7 #C1ADE5
Accessibility & contrast
On white
5.49
#7B50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7B50C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B50C8
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B50C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B50C8 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#1A67C5
Tritanopia (blue-blind)
#686A84
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b50c8; /* rgb */ color: rgb(123, 80, 200); /* oklch */ color: oklch(53.9% 0.179 296.4);
Tailwind
colors: {
custom: {
50: '#a683d9',
500: '#7b50c8',
950: '#000000',
},
}SCSS
$custom: #7b50c8; $custom-light: #a683d9; $custom-dark: #000000;
JSON
{
"hex": "#7b50c8",
"rgb": {
"r": 123,
"g": 80,
"b": 200
},
"hsl": {
"h": 261.5,
"s": 52.174,
"l": 54.902
},
"oklch": {
"l": 0.53948,
"c": 0.17887,
"h": 296.4
},
"luminance": 0.14118
}Semantic roles & 50–950 ramp
primary
#7B50C8
secondary
#C1D3A1
accent
#DC4CA8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83