#7B50CD#7B50CD
#7B50CD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.185 H 295.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7B50CD |
|---|---|
| RGB | rgb(123, 80, 205) |
| HSL | hsl(261, 56%, 56%) |
| HSV | hsv(261, 61%, 80%) |
| CMYK | cmyk(40%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(44.74, 45.44, -58.66) |
| CIE-LCH | lch(44.74, 74.20, 307.76°) |
| OKLab | oklab(54.3% 0.0794 -0.1671) |
| OKLCH | oklch(54.3% 0.185 295.4) |
| XYZ | xyz(22.0536, 14.3556, 59.3547) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.02
Purpley
#8756E4
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.43
Iris
#6258C4
ΔE00 5.49
Bluish Purple
#703BE7
ΔE00 5.81
Bluey Purple
#6241C7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B50CD #A2CD50
analogous
#5063CD #7B50CD #B950CD
triadic
#7B50CD #CD7B50 #50CD7B
tetradic
#7B50CD #CD5063 #A2CD50 #50CDB9
square
#7B50CD #CD5063 #A2CD50 #50CDB9
split-complementary
#7B50CD #CDB950 #63CD50
monochromatic
#43247E #5D32AE #7B50CD #9F80DB #C3AFE8
Accessibility & contrast
On white
5.42
#7B50CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7B50CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B50CD
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B50CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B50CD | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0968CA
Tritanopia (blue-blind)
#666C87
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b50cd; /* rgb */ color: rgb(123, 80, 205); /* oklch */ color: oklch(54.3% 0.185 295.4);
Tailwind
colors: {
custom: {
50: '#a783dd',
500: '#7b50cd',
950: '#000000',
},
}SCSS
$custom: #7b50cd; $custom-light: #a783dd; $custom-dark: #000000;
JSON
{
"hex": "#7b50cd",
"rgb": {
"r": 123,
"g": 80,
"b": 205
},
"hsl": {
"h": 260.64,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.54301,
"c": 0.18496,
"h": 295.4
},
"luminance": 0.14356
}Semantic roles & 50–950 ramp
primary
#7B50CD
secondary
#C4D6A2
accent
#DF49AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83