#7B50CC#7B50CC
#7B50CC is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.184 H 295.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7B50CC |
|---|---|
| RGB | rgb(123, 80, 204) |
| HSL | hsl(261, 55%, 56%) |
| HSV | hsv(261, 61%, 80%) |
| CMYK | cmyk(39.7%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(44.67, 45.17, -58.19) |
| CIE-LCH | lch(44.67, 73.67, 307.82°) |
| OKLab | oklab(54.23% 0.0794 -0.1657) |
| OKLCH | oklch(54.23% 0.184 295.6) |
| XYZ | xyz(21.9333, 14.3075, 58.7211) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.06
Purpley
#8756E4
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.46
Iris
#6258C4
ΔE00 5.49
Bluey Purple
#6241C7
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B50CC #A1CC50
analogous
#5063CC #7B50CC #B950CC
triadic
#7B50CC #CC7B50 #50CC7B
tetradic
#7B50CC #CC5063 #A1CC50 #50CCB9
square
#7B50CC #CC5063 #A1CC50 #50CCB9
split-complementary
#7B50CC #CCB950 #63CC50
monochromatic
#43247D #5D32AD #7B50CC #9F7FDA #C2AFE8
Accessibility & contrast
On white
5.44
#7B50CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7B50CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B50CC
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B50CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B50CC | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0D68C9
Tritanopia (blue-blind)
#676B86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b50cc; /* rgb */ color: rgb(123, 80, 204); /* oklch */ color: oklch(54.2% 0.184 295.6);
Tailwind
colors: {
custom: {
50: '#a683dc',
500: '#7b50cc',
950: '#000000',
},
}SCSS
$custom: #7b50cc; $custom-light: #a683dc; $custom-dark: #000000;
JSON
{
"hex": "#7b50cc",
"rgb": {
"r": 123,
"g": 80,
"b": 204
},
"hsl": {
"h": 260.806,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.5423,
"c": 0.18375,
"h": 295.6
},
"luminance": 0.14308
}Semantic roles & 50–950 ramp
primary
#7B50CC
secondary
#C4D6A2
accent
#DE4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83