#7B58F2#7B58F2
#7B58F2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.219 H 288.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7B58F2 |
|---|---|
| RGB | rgb(123, 88, 242) |
| HSL | hsl(254, 86%, 65%) |
| HSV | hsv(254, 64%, 95%) |
| CMYK | cmyk(49.2%, 63.6%, 0%, 5.1%) |
| CIE-LAB | lab(49.01, 51.22, -72.74) |
| CIE-LCH | lch(49.01, 88.96, 305.15°) |
| OKLab | oklab(58.23% 0.068 -0.2085) |
| OKLCH | oklch(58.23% 0.219 288.1) |
| XYZ | xyz(27.6804, 17.6000, 85.9258) |
| Luminance | 0.1760 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.92
Mediumslateblue
#7B68EE
ΔE00 4.40
Light Indigo
#6D5ACF
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.86
Dark Periwinkle
#665FD1
ΔE00 6.05
Purpleish Blue
#6140EF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B58F2 #CFF258
analogous
#5882F2 #7B58F2 #C858F2
triadic
#7B58F2 #F27B58 #58F27B
tetradic
#7B58F2 #F25882 #CFF258 #58F2C8
square
#7B58F2 #F25882 #CFF258 #58F2C8
split-complementary
#7B58F2 #F2C858 #82F258
monochromatic
#370FC1 #4E1FEE #7B58F2 #A891F6 #D5CAFB
Accessibility & contrast
On white
4.65
#7B58F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#7B58F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B58F2
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B58F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B58F2 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#517D9D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7b58f2; /* rgb */ color: rgb(123, 88, 242); /* oklch */ color: oklch(58.2% 0.219 288.1);
Tailwind
colors: {
custom: {
50: '#aa89f7',
500: '#7b58f2',
950: '#000000',
},
}SCSS
$custom: #7b58f2; $custom-light: #aa89f7; $custom-dark: #000000;
JSON
{
"hex": "#7b58f2",
"rgb": {
"r": 123,
"g": 88,
"b": 242
},
"hsl": {
"h": 253.636,
"s": 85.556,
"l": 64.706
},
"oklch": {
"l": 0.58231,
"c": 0.21928,
"h": 288.1
},
"luminance": 0.17601
}Semantic roles & 50–950 ramp
primary
#7B58F2
secondary
#E1EDB8
accent
#E203AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85