#7B5BF2#7B5BF2
#7B5BF2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.7% C 0.216 H 287.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5BF2 |
|---|---|
| RGB | rgb(123, 91, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 62%, 95%) |
| CMYK | cmyk(49.2%, 62.4%, 0%, 5.1%) |
| CIE-LAB | lab(49.62, 49.58, -71.74) |
| CIE-LCH | lch(49.62, 87.20, 304.65°) |
| OKLab | oklab(58.68% 0.0651 -0.2055) |
| OKLCH | oklch(58.68% 0.216 287.6) |
| XYZ | xyz(27.9318, 18.1027, 86.0096) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.23
Mediumslateblue
#7B68EE
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 5.45
Dark Periwinkle
#665FD1
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 5.95
Lighter Purple
#A55AF4
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5BF2 #D2F25B
analogous
#5B87F2 #7B5BF2 #C65BF2
triadic
#7B5BF2 #F27B5B #5BF27B
tetradic
#7B5BF2 #F25B87 #D2F25B #5BF2C6
square
#7B5BF2 #F25B87 #D2F25B #5BF2C6
split-complementary
#7B5BF2 #F2C65B #87F25B
monochromatic
#360FC3 #4D22EE #7B5BF2 #A994F6 #D6CCFB
Accessibility & contrast
On white
4.54
#7B5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7B5BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5BF2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5BF2 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#517F9E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b5bf2; /* rgb */ color: rgb(123, 91, 242); /* oklch */ color: oklch(58.7% 0.216 287.6);
Tailwind
colors: {
custom: {
50: '#aa8bf7',
500: '#7b5bf2',
950: '#000000',
},
}SCSS
$custom: #7b5bf2; $custom-light: #aa8bf7; $custom-dark: #000000;
JSON
{
"hex": "#7b5bf2",
"rgb": {
"r": 123,
"g": 91,
"b": 242
},
"hsl": {
"h": 252.715,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.58676,
"c": 0.21559,
"h": 287.6
},
"luminance": 0.18104
}Semantic roles & 50–950 ramp
primary
#7B5BF2
secondary
#E3EEBB
accent
#E204B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85