#7B5CF9#7B5CF9
#7B5CF9 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.223 H 286.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5CF9 |
|---|---|
| RGB | rgb(123, 92, 249) |
| HSL | hsl(252, 93%, 67%) |
| HSV | hsv(252, 63%, 98%) |
| CMYK | cmyk(50.6%, 63.1%, 0%, 2.4%) |
| CIE-LAB | lab(50.34, 51.01, -74.48) |
| CIE-LCH | lch(50.34, 90.28, 304.41°) |
| OKLab | oklab(59.36% 0.0635 -0.2136) |
| OKLCH | oklch(59.36% 0.223 286.6) |
| XYZ | xyz(29.0893, 18.7034, 91.6815) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.41
Purpley
#8756E4
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 6.35
Dark Periwinkle
#665FD1
ΔE00 6.59
Slate Blue
#6A5ACD
ΔE00 6.81
Lighter Purple
#A55AF4
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5CF9 #DAF95C
analogous
#5C8CF9 #7B5CF9 #C95CF9
triadic
#7B5CF9 #F97B5C #5CF97B
tetradic
#7B5CF9 #F95C8C #DAF95C #5CF9C9
square
#7B5CF9 #F95C8C #DAF95C #5CF9C9
split-complementary
#7B5CF9 #F9C95C #8CF95C
monochromatic
#3008D3 #4B21F7 #7B5CF9 #AB97FB #DBD2FD
Accessibility & contrast
On white
4.43
#7B5CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7B5CF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5CF9
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5CF9 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4B82A2
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7b5cf9; /* rgb */ color: rgb(123, 92, 249); /* oklch */ color: oklch(59.4% 0.223 286.6);
Tailwind
colors: {
custom: {
50: '#ab8cfc',
500: '#7b5cf9',
950: '#000000',
},
}SCSS
$custom: #7b5cf9; $custom-light: #ab8cfc; $custom-dark: #000000;
JSON
{
"hex": "#7b5cf9",
"rgb": {
"r": 123,
"g": 92,
"b": 249
},
"hsl": {
"h": 251.847,
"s": 92.899,
"l": 66.863
},
"oklch": {
"l": 0.59358,
"c": 0.22283,
"h": 286.6
},
"luminance": 0.18705
}Semantic roles & 50–950 ramp
primary
#7B5CF9
secondary
#E8F2BF
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86