#7B5FF0#7B5FF0
#7B5FF0 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.208 H 287.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5FF0 |
|---|---|
| RGB | rgb(123, 95, 240) |
| HSL | hsl(252, 83%, 66%) |
| HSV | hsv(252, 60%, 94%) |
| CMYK | cmyk(48.7%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(50.32, 46.78, -69.49) |
| CIE-LCH | lch(50.32, 83.77, 303.95°) |
| OKLab | oklab(59.14% 0.0612 -0.1989) |
| OKLCH | oklch(59.14% 0.208 287.1) |
| XYZ | xyz(27.9842, 18.6854, 84.5533) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.56
Purpley
#8756E4
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 5.52
Dark Periwinkle
#665FD1
ΔE00 5.70
Slate Blue
#6A5ACD
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5FF0 #D4F05F
analogous
#5F8BF0 #7B5FF0 #C35FF0
triadic
#7B5FF0 #F07B5F #5FF07B
tetradic
#7B5FF0 #F05F8B #D4F05F #5FF0C3
square
#7B5FF0 #F05F8B #D4F05F #5FF0C3
split-complementary
#7B5FF0 #F0C35F #8BF05F
monochromatic
#3412C2 #4D27EB #7B5FF0 #A997F5 #D7CFFA
Accessibility & contrast
On white
4.43
#7B5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7B5FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5FF0
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5FF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5FF0 | 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)
#007BF5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#52819F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7b5ff0; /* rgb */ color: rgb(123, 95, 240); /* oklch */ color: oklch(59.1% 0.208 287.1);
Tailwind
colors: {
custom: {
50: '#a98ef6',
500: '#7b5ff0',
950: '#000000',
},
}SCSS
$custom: #7b5ff0; $custom-light: #a98ef6; $custom-dark: #000000;
JSON
{
"hex": "#7b5ff0",
"rgb": {
"r": 123,
"g": 95,
"b": 240
},
"hsl": {
"h": 251.586,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.59139,
"c": 0.20812,
"h": 287.1
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#7B5FF0
secondary
#E4EEBD
accent
#DF06B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85