#7B5AF2#7B5AF2
#7B5AF2 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.217 H 287.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5AF2 |
|---|---|
| RGB | rgb(123, 90, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 63%, 95%) |
| CMYK | cmyk(49.2%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(49.41, 50.13, -72.08) |
| CIE-LCH | lch(49.41, 87.79, 304.82°) |
| OKLab | oklab(58.53% 0.0661 -0.2065) |
| OKLCH | oklch(58.53% 0.217 287.7) |
| XYZ | xyz(27.8469, 17.9328, 85.9813) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.10
Mediumslateblue
#7B68EE
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 5.41
Slate Blue
#6A5ACD
ΔE00 5.91
Dark Periwinkle
#665FD1
ΔE00 5.95
Lighter Purple
#A55AF4
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5AF2 #D1F25A
analogous
#5A85F2 #7B5AF2 #C75AF2
triadic
#7B5AF2 #F27B5A #5AF27B
tetradic
#7B5AF2 #F25A85 #D1F25A #5AF2C7
square
#7B5AF2 #F25A85 #D1F25A #5AF2C7
split-complementary
#7B5AF2 #F2C75A #85F25A
monochromatic
#360FC2 #4E21EE #7B5AF2 #A893F6 #D6CBFB
Accessibility & contrast
On white
4.58
#7B5AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7B5AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B5AF2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B5AF2 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#517F9E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b5af2; /* rgb */ color: rgb(123, 90, 242); /* oklch */ color: oklch(58.5% 0.217 287.7);
Tailwind
colors: {
custom: {
50: '#aa8af7',
500: '#7b5af2',
950: '#000000',
},
}SCSS
$custom: #7b5af2; $custom-light: #aa8af7; $custom-dark: #000000;
JSON
{
"hex": "#7b5af2",
"rgb": {
"r": 123,
"g": 90,
"b": 242
},
"hsl": {
"h": 253.026,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.58526,
"c": 0.21683,
"h": 287.7
},
"luminance": 0.17934
}Semantic roles & 50–950 ramp
primary
#7B5AF2
secondary
#E2EEBA
accent
#E204B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85