#7B5EF9#7B5EF9
#7B5EF9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.220 H 286.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5EF9 |
|---|---|
| RGB | rgb(123, 94, 249) |
| HSL | hsl(251, 93%, 67%) |
| HSV | hsv(251, 62%, 98%) |
| CMYK | cmyk(50.6%, 62.2%, 0%, 2.4%) |
| CIE-LAB | lab(50.75, 49.91, -73.81) |
| CIE-LCH | lch(50.75, 89.10, 304.07°) |
| OKLab | oklab(59.66% 0.0616 -0.2116) |
| OKLCH | oklch(59.66% 0.22 286.2) |
| XYZ | xyz(29.2649, 19.0545, 91.7400) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.94
Purpley
#8756E4
ΔE00 4.30
Light Indigo
#6D5ACF
ΔE00 6.50
Dark Periwinkle
#665FD1
ΔE00 6.60
Slate Blue
#6A5ACD
ΔE00 6.96
Lighter Purple
#A55AF4
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5EF9 #DCF95E
analogous
#5E8EF9 #7B5EF9 #C95EF9
triadic
#7B5EF9 #F97B5E #5EF97B
tetradic
#7B5EF9 #F95E8E #DCF95E #5EF9C9
square
#7B5EF9 #F95E8E #DCF95E #5EF9C9
split-complementary
#7B5EF9 #F9C95E #8EF95E
monochromatic
#2E08D5 #4B23F7 #7B5EF9 #AB99FB #DCD4FD
Accessibility & contrast
On white
4.36
#7B5EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7B5EF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5EF9
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5EF9 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFE
Deuteranopia (green-blind)
#0074F6
Tritanopia (blue-blind)
#4B83A3
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7b5ef9; /* rgb */ color: rgb(123, 94, 249); /* oklch */ color: oklch(59.7% 0.220 286.2);
Tailwind
colors: {
custom: {
50: '#ab8dfc',
500: '#7b5ef9',
950: '#000000',
},
}SCSS
$custom: #7b5ef9; $custom-light: #ab8dfc; $custom-dark: #000000;
JSON
{
"hex": "#7b5ef9",
"rgb": {
"r": 123,
"g": 94,
"b": 249
},
"hsl": {
"h": 251.226,
"s": 92.814,
"l": 67.255
},
"oklch": {
"l": 0.59658,
"c": 0.22039,
"h": 286.2
},
"luminance": 0.19056
}Semantic roles & 50–950 ramp
primary
#7B5EF9
secondary
#E9F2C1
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86