#7B5DF0#7B5DF0
#7B5DF0 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.211 H 287.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5DF0 |
|---|---|
| RGB | rgb(123, 93, 240) |
| HSL | hsl(252, 83%, 65%) |
| HSV | hsv(252, 61%, 94%) |
| CMYK | cmyk(48.7%, 61.2%, 0%, 5.9%) |
| CIE-LAB | lab(49.89, 47.90, -70.18) |
| CIE-LCH | lch(49.89, 84.97, 304.31°) |
| OKLab | oklab(58.83% 0.0632 -0.2009) |
| OKLCH | oklch(58.83% 0.211 287.5) |
| XYZ | xyz(27.8063, 18.3297, 84.4940) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.10
Purpley
#8756E4
ΔE00 3.37
Light Indigo
#6D5ACF
ΔE00 5.34
Dark Periwinkle
#665FD1
ΔE00 5.69
Slate Blue
#6A5ACD
ΔE00 5.83
Lighter Purple
#A55AF4
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5DF0 #D2F05D
analogous
#5D88F0 #7B5DF0 #C55DF0
triadic
#7B5DF0 #F07B5D #5DF07B
tetradic
#7B5DF0 #F05D88 #D2F05D #5DF0C5
square
#7B5DF0 #F05D88 #D2F05D #5DF0C5
split-complementary
#7B5DF0 #F0C55D #88F05D
monochromatic
#3612C1 #4D25EB #7B5DF0 #A995F5 #D6CDFA
Accessibility & contrast
On white
4.50
#7B5DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7B5DF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5DF0
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5DF0 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#52809E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b5df0; /* rgb */ color: rgb(123, 93, 240); /* oklch */ color: oklch(58.8% 0.211 287.5);
Tailwind
colors: {
custom: {
50: '#aa8cf6',
500: '#7b5df0',
950: '#000000',
},
}SCSS
$custom: #7b5df0; $custom-light: #aa8cf6; $custom-dark: #000000;
JSON
{
"hex": "#7b5df0",
"rgb": {
"r": 123,
"g": 93,
"b": 240
},
"hsl": {
"h": 252.245,
"s": 83.051,
"l": 65.294
},
"oklch": {
"l": 0.5883,
"c": 0.21065,
"h": 287.5
},
"luminance": 0.18331
}Semantic roles & 50–950 ramp
primary
#7B5DF0
secondary
#E3EDBC
accent
#DF06B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85