#7B59EF#7B59EF
#7B59EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.214 H 288.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7B59EF |
|---|---|
| RGB | rgb(123, 89, 239) |
| HSL | hsl(254, 82%, 64%) |
| HSV | hsv(254, 63%, 94%) |
| CMYK | cmyk(48.5%, 62.8%, 0%, 6.3%) |
| CIE-LAB | lab(48.99, 49.83, -71.09) |
| CIE-LCH | lch(48.99, 86.81, 305.03°) |
| OKLab | oklab(58.15% 0.0673 -0.2036) |
| OKLCH | oklch(58.15% 0.214 288.3) |
| XYZ | xyz(27.3162, 17.5865, 83.5998) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.76
Mediumslateblue
#7B68EE
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 5.74
Purpleish Blue
#6140EF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B59EF #CDEF59
analogous
#5982EF #7B59EF #C659EF
triadic
#7B59EF #EF7B59 #59EF7B
tetradic
#7B59EF #EF5982 #CDEF59 #59EFC6
square
#7B59EF #EF5982 #CDEF59 #59EFC6
split-complementary
#7B59EF #EFC659 #82EF59
monochromatic
#3812BC #4F21EA #7B59EF #A791F4 #D4C9FA
Accessibility & contrast
On white
4.65
#7B59EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#7B59EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B59EF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B59EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B59EF | 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)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#537D9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7b59ef; /* rgb */ color: rgb(123, 89, 239); /* oklch */ color: oklch(58.1% 0.214 288.3);
Tailwind
colors: {
custom: {
50: '#aa8af5',
500: '#7b59ef',
950: '#000000',
},
}SCSS
$custom: #7b59ef; $custom-light: #aa8af5; $custom-dark: #000000;
JSON
{
"hex": "#7b59ef",
"rgb": {
"r": 123,
"g": 89,
"b": 239
},
"hsl": {
"h": 253.6,
"s": 82.418,
"l": 64.314
},
"oklch": {
"l": 0.5815,
"c": 0.21445,
"h": 288.3
},
"luminance": 0.17588
}Semantic roles & 50–950 ramp
primary
#7B59EF
secondary
#E0ECB8
accent
#DF07AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85