#7B59F2#7B59F2
#7B59F2 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.218 H 287.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59F2 |
|---|---|
| RGB | rgb(123, 89, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 63%, 95%) |
| CMYK | cmyk(49.2%, 63.2%, 0%, 5.1%) |
| CIE-LAB | lab(49.21, 50.67, -72.41) |
| CIE-LCH | lch(49.21, 88.38, 304.99°) |
| OKLab | oklab(58.38% 0.067 -0.2075) |
| OKLCH | oklch(58.38% 0.218 287.9) |
| XYZ | xyz(27.7631, 17.7653, 85.9534) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Mediumslateblue
#7B68EE
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 5.38
Slate Blue
#6A5ACD
ΔE00 5.88
Dark Periwinkle
#665FD1
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59F2 #D0F259
analogous
#5984F2 #7B59F2 #C759F2
triadic
#7B59F2 #F27B59 #59F27B
tetradic
#7B59F2 #F25984 #D0F259 #59F2C7
square
#7B59F2 #F25984 #D0F259 #59F2C7
split-complementary
#7B59F2 #F2C759 #84F259
monochromatic
#370FC1 #4E20EE #7B59F2 #A892F6 #D5CBFB
Accessibility & contrast
On white
4.61
#7B59F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7B59F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59F2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59F2 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#517E9E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b59f2; /* rgb */ color: rgb(123, 89, 242); /* oklch */ color: oklch(58.4% 0.218 287.9);
Tailwind
colors: {
custom: {
50: '#aa8af7',
500: '#7b59f2',
950: '#000000',
},
}SCSS
$custom: #7b59f2; $custom-light: #aa8af7; $custom-dark: #000000;
JSON
{
"hex": "#7b59f2",
"rgb": {
"r": 123,
"g": 89,
"b": 242
},
"hsl": {
"h": 253.333,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.58378,
"c": 0.21806,
"h": 287.9
},
"luminance": 0.17767
}Semantic roles & 50–950 ramp
primary
#7B59F2
secondary
#E2EDB9
accent
#E204B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85