#7B5EF3#7B5EF3
#7B5EF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.213 H 286.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5EF3 |
|---|---|
| RGB | rgb(123, 94, 243) |
| HSL | hsl(252, 86%, 66%) |
| HSV | hsv(252, 61%, 95%) |
| CMYK | cmyk(49.4%, 61.3%, 0%, 4.7%) |
| CIE-LAB | lab(50.32, 48.20, -71.17) |
| CIE-LCH | lch(50.32, 85.95, 304.11°) |
| OKLab | oklab(59.21% 0.062 -0.2038) |
| OKLCH | oklch(59.21% 0.213 286.9) |
| XYZ | xyz(28.3440, 18.6861, 86.8899) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.82
Purpley
#8756E4
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 5.78
Dark Periwinkle
#665FD1
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.26
Lighter Purple
#A55AF4
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5EF3 #D6F35E
analogous
#5E8BF3 #7B5EF3 #C55EF3
triadic
#7B5EF3 #F37B5E #5EF37B
tetradic
#7B5EF3 #F35E8B #D6F35E #5EF3C5
square
#7B5EF3 #F35E8B #D6F35E #5EF3C5
split-complementary
#7B5EF3 #F3C55E #8BF35E
monochromatic
#330FC8 #4C25EF #7B5EF3 #AA97F7 #D8D0FB
Accessibility & contrast
On white
4.43
#7B5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7B5EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5EF3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5EF3 | 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)
#007BF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#5081A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7b5ef3; /* rgb */ color: rgb(123, 94, 243); /* oklch */ color: oklch(59.2% 0.213 286.9);
Tailwind
colors: {
custom: {
50: '#aa8df8',
500: '#7b5ef3',
950: '#000000',
},
}SCSS
$custom: #7b5ef3; $custom-light: #aa8df8; $custom-dark: #000000;
JSON
{
"hex": "#7b5ef3",
"rgb": {
"r": 123,
"g": 94,
"b": 243
},
"hsl": {
"h": 251.678,
"s": 86.127,
"l": 66.078
},
"oklch": {
"l": 0.59206,
"c": 0.21308,
"h": 286.9
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#7B5EF3
secondary
#E5EFBE
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85