#7B50E9#7B50E9
#7B50E9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.218 H 290.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7B50E9 |
|---|---|
| RGB | rgb(123, 80, 233) |
| HSL | hsl(257, 78%, 61%) |
| HSV | hsv(257, 66%, 91%) |
| CMYK | cmyk(47.2%, 65.7%, 0%, 8.6%) |
| CIE-LAB | lab(46.75, 53.01, -71.35) |
| CIE-LCH | lch(46.75, 88.89, 306.61°) |
| OKLab | oklab(56.39% 0.0768 -0.2044) |
| OKLCH | oklch(56.39% 0.218 290.6) |
| XYZ | xyz(25.7409, 15.8305, 78.7743) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.71
Light Indigo
#6D5ACF
ΔE00 4.84
Bluish Purple
#703BE7
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.34
Purpleish Blue
#6140EF
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B50E9 #BEE950
analogous
#5072E9 #7B50E9 #C850E9
triadic
#7B50E9 #E97B50 #50E97B
tetradic
#7B50E9 #E95072 #BEE950 #50E9C8
square
#7B50E9 #E95072 #BEE950 #50E9C8
split-complementary
#7B50E9 #E9C850 #72E950
monochromatic
#3F15A9 #531CE0 #7B50E9 #A486F0 #CDBDF7
Accessibility & contrast
On white
5.04
#7B50E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7B50E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B50E9
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B50E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B50E9 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#587596
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7b50e9; /* rgb */ color: rgb(123, 80, 233); /* oklch */ color: oklch(56.4% 0.218 290.6);
Tailwind
colors: {
custom: {
50: '#aa84f1',
500: '#7b50e9',
950: '#000000',
},
}SCSS
$custom: #7b50e9; $custom-light: #aa84f1; $custom-dark: #000000;
JSON
{
"hex": "#7b50e9",
"rgb": {
"r": 123,
"g": 80,
"b": 233
},
"hsl": {
"h": 256.863,
"s": 77.665,
"l": 61.373
},
"oklch": {
"l": 0.56392,
"c": 0.21834,
"h": 290.6
},
"luminance": 0.15831
}Semantic roles & 50–950 ramp
primary
#7B50E9
secondary
#D7E7AE
accent
#DA0CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85