#7B5CF5#7B5CF5
#7B5CF5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.218 H 287.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5CF5 |
|---|---|
| RGB | rgb(123, 92, 245) |
| HSL | hsl(252, 88%, 66%) |
| HSV | hsv(252, 62%, 96%) |
| CMYK | cmyk(49.8%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(50.05, 49.87, -72.73) |
| CIE-LCH | lch(50.05, 88.19, 304.44°) |
| OKLab | oklab(59.05% 0.0638 -0.2084) |
| OKLCH | oklch(59.05% 0.218 287) |
| XYZ | xyz(28.4721, 18.4565, 88.4307) |
| Luminance | 0.1846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.35
Purpley
#8756E4
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 5.87
Dark Periwinkle
#665FD1
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.35
Lighter Purple
#A55AF4
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5CF5 #D6F55C
analogous
#5C89F5 #7B5CF5 #C75CF5
triadic
#7B5CF5 #F57B5C #5CF57B
tetradic
#7B5CF5 #F55C89 #D6F55C #5CF5C7
square
#7B5CF5 #F55C89 #D6F55C #5CF5C7
split-complementary
#7B5CF5 #F5C75C #89F55C
monochromatic
#330CCA #4C22F1 #7B5CF5 #AA96F9 #D8CFFC
Accessibility & contrast
On white
4.48
#7B5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7B5CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5CF5
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5CF5 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#4F81A0
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b5cf5; /* rgb */ color: rgb(123, 92, 245); /* oklch */ color: oklch(59.1% 0.218 287.0);
Tailwind
colors: {
custom: {
50: '#aa8cf9',
500: '#7b5cf5',
950: '#000000',
},
}SCSS
$custom: #7b5cf5; $custom-light: #aa8cf9; $custom-dark: #000000;
JSON
{
"hex": "#7b5cf5",
"rgb": {
"r": 123,
"g": 92,
"b": 245
},
"hsl": {
"h": 252.157,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.59053,
"c": 0.218,
"h": 287
},
"luminance": 0.18458
}Semantic roles & 50–950 ramp
primary
#7B5CF5
secondary
#E5F0BD
accent
#E500B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85