#7B5BF0#7B5BF0
#7B5BF0 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.213 H 287.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5BF0 |
|---|---|
| RGB | rgb(123, 91, 240) |
| HSL | hsl(253, 83%, 65%) |
| HSV | hsv(253, 62%, 94%) |
| CMYK | cmyk(48.7%, 62.1%, 0%, 5.9%) |
| CIE-LAB | lab(49.48, 49.01, -70.86) |
| CIE-LCH | lch(49.48, 86.16, 304.67°) |
| OKLab | oklab(58.53% 0.0652 -0.2029) |
| OKLCH | oklch(58.53% 0.213 287.8) |
| XYZ | xyz(27.6331, 17.9832, 84.4363) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.06
Mediumslateblue
#7B68EE
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.72
Dark Periwinkle
#665FD1
ΔE00 5.73
Lighter Purple
#A55AF4
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5BF0 #D0F05B
analogous
#5B85F0 #7B5BF0 #C65BF0
triadic
#7B5BF0 #F07B5B #5BF07B
tetradic
#7B5BF0 #F05B85 #D0F05B #5BF0C6
square
#7B5BF0 #F05B85 #D0F05B #5BF0C6
split-complementary
#7B5BF0 #F0C65B #85F05B
monochromatic
#3711BF #4E23EB #7B5BF0 #A893F5 #D5CBFA
Accessibility & contrast
On white
4.57
#7B5BF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7B5BF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5BF0
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5BF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5BF0 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#527F9D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b5bf0; /* rgb */ color: rgb(123, 91, 240); /* oklch */ color: oklch(58.5% 0.213 287.8);
Tailwind
colors: {
custom: {
50: '#aa8bf6',
500: '#7b5bf0',
950: '#000000',
},
}SCSS
$custom: #7b5bf0; $custom-light: #aa8bf6; $custom-dark: #000000;
JSON
{
"hex": "#7b5bf0",
"rgb": {
"r": 123,
"g": 91,
"b": 240
},
"hsl": {
"h": 252.886,
"s": 83.24,
"l": 64.902
},
"oklch": {
"l": 0.58525,
"c": 0.21317,
"h": 287.8
},
"luminance": 0.17984
}Semantic roles & 50–950 ramp
primary
#7B5BF0
secondary
#E2EDBA
accent
#E006B1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85