#7A50CB#7A50CB
#7A50CB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.182 H 295.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7A50CB |
|---|---|
| RGB | rgb(122, 80, 203) |
| HSL | hsl(260, 54%, 55%) |
| HSV | hsv(260, 61%, 80%) |
| CMYK | cmyk(39.9%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.50, 44.69, -57.90) |
| CIE-LCH | lch(44.50, 73.14, 307.66°) |
| OKLab | oklab(54.06% 0.0781 -0.1649) |
| OKLCH | oklch(54.06% 0.182 295.4) |
| XYZ | xyz(21.6714, 14.1862, 58.0848) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.98
Slate Blue
#6A5ACD
ΔE00 4.36
Purpley
#8756E4
ΔE00 4.64
Iris
#6258C4
ΔE00 5.33
Bluey Purple
#6241C7
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A50CB #A1CB50
analogous
#5063CB #7A50CB #B850CB
triadic
#7A50CB #CB7A50 #50CB7A
tetradic
#7A50CB #CB5063 #A1CB50 #50CBB8
square
#7A50CB #CB5063 #A1CB50 #50CBB8
split-complementary
#7A50CB #CBB850 #63CB50
monochromatic
#43257C #5C33AB #7A50CB #9E7FD9 #C2AEE7
Accessibility & contrast
On white
5.47
#7A50CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#7A50CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A50CB
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A50CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A50CB | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0E67C8
Tritanopia (blue-blind)
#656B86
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7a50cb; /* rgb */ color: rgb(122, 80, 203); /* oklch */ color: oklch(54.1% 0.182 295.4);
Tailwind
colors: {
custom: {
50: '#a683dc',
500: '#7a50cb',
950: '#000000',
},
}SCSS
$custom: #7a50cb; $custom-light: #a683dc; $custom-dark: #000000;
JSON
{
"hex": "#7a50cb",
"rgb": {
"r": 122,
"g": 80,
"b": 203
},
"hsl": {
"h": 260.488,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.54059,
"c": 0.18244,
"h": 295.4
},
"luminance": 0.14187
}Semantic roles & 50–950 ramp
primary
#7A50CB
secondary
#C4D5A2
accent
#DE4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83