#7B4FED#7B4FED
#7B4FED is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.224 H 290.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FED |
|---|---|
| RGB | rgb(123, 79, 237) |
| HSL | hsl(257, 81%, 62%) |
| HSV | hsv(257, 67%, 93%) |
| CMYK | cmyk(48.1%, 66.7%, 0%, 7.1%) |
| CIE-LAB | lab(46.86, 54.63, -73.42) |
| CIE-LCH | lch(46.86, 91.52, 306.65°) |
| OKLab | oklab(56.57% 0.0772 -0.2105) |
| OKLCH | oklch(56.57% 0.224 290.1) |
| XYZ | xyz(26.2461, 15.9163, 81.7936) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.94
Bluish Purple
#703BE7
ΔE00 5.08
Purpleish Blue
#6140EF
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.75
Dark Periwinkle
#665FD1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FED #C1ED4F
analogous
#4F72ED #7B4FED #CA4FED
triadic
#7B4FED #ED7B4F #4FED7B
tetradic
#7B4FED #ED4F72 #C1ED4F #4FEDCA
square
#7B4FED #ED4F72 #C1ED4F #4FEDCA
split-complementary
#7B4FED #EDCA4F #72ED4F
monochromatic
#3E12B0 #5118E7 #7B4FED #A587F3 #CEBEF8
Accessibility & contrast
On white
5.02
#7B4FED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#7B4FED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FED
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FED | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#557698
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7b4fed; /* rgb */ color: rgb(123, 79, 237); /* oklch */ color: oklch(56.6% 0.224 290.1);
Tailwind
colors: {
custom: {
50: '#aa83f4',
500: '#7b4fed',
950: '#000000',
},
}SCSS
$custom: #7b4fed; $custom-light: #aa83f4; $custom-dark: #000000;
JSON
{
"hex": "#7b4fed",
"rgb": {
"r": 123,
"g": 79,
"b": 237
},
"hsl": {
"h": 256.709,
"s": 81.443,
"l": 61.961
},
"oklch": {
"l": 0.56568,
"c": 0.22418,
"h": 290.1
},
"luminance": 0.15917
}Semantic roles & 50–950 ramp
primary
#7B4FED
secondary
#D9E9AF
accent
#DE08A2
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85