#7B5BF9#7B5BF9
#7B5BF9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.224 H 286.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5BF9 |
|---|---|
| RGB | rgb(123, 91, 249) |
| HSL | hsl(252, 93%, 67%) |
| HSV | hsv(252, 63%, 98%) |
| CMYK | cmyk(50.6%, 63.5%, 0%, 2.4%) |
| CIE-LAB | lab(50.13, 51.56, -74.81) |
| CIE-LCH | lch(50.13, 90.86, 304.57°) |
| OKLab | oklab(59.21% 0.0644 -0.2146) |
| OKLCH | oklch(59.21% 0.224 286.7) |
| XYZ | xyz(29.0033, 18.5313, 91.6528) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.65
Purpley
#8756E4
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 6.29
Dark Periwinkle
#665FD1
ΔE00 6.60
Slate Blue
#6A5ACD
ΔE00 6.76
Lighter Purple
#A55AF4
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5BF9 #D9F95B
analogous
#5B8AF9 #7B5BF9 #CA5BF9
triadic
#7B5BF9 #F97B5B #5BF97B
tetradic
#7B5BF9 #F95B8A #D9F95B #5BF9CA
square
#7B5BF9 #F95B8A #D9F95B #5BF9CA
split-complementary
#7B5BF9 #F9CA5B #8AF95B
monochromatic
#3108D2 #4B20F7 #7B5BF9 #AB96FB #DAD1FD
Accessibility & contrast
On white
4.46
#7B5BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7B5BF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5BF9
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5BF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5BF9 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4B82A2
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b5bf9; /* rgb */ color: rgb(123, 91, 249); /* oklch */ color: oklch(59.2% 0.224 286.7);
Tailwind
colors: {
custom: {
50: '#ab8bfc',
500: '#7b5bf9',
950: '#000000',
},
}SCSS
$custom: #7b5bf9; $custom-light: #ab8bfc; $custom-dark: #000000;
JSON
{
"hex": "#7b5bf9",
"rgb": {
"r": 123,
"g": 91,
"b": 249
},
"hsl": {
"h": 252.152,
"s": 92.941,
"l": 66.667
},
"oklch": {
"l": 0.5921,
"c": 0.22403,
"h": 286.7
},
"luminance": 0.18533
}Semantic roles & 50–950 ramp
primary
#7B5BF9
secondary
#E7F1BE
accent
#E600B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86