#7B4FE4#7B4FE4
#7B4FE4 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.214 H 291.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FE4 |
|---|---|
| RGB | rgb(123, 79, 228) |
| HSL | hsl(258, 73%, 60%) |
| HSV | hsv(258, 65%, 89%) |
| CMYK | cmyk(46.1%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(46.18, 52.18, -69.45) |
| CIE-LCH | lch(46.18, 86.87, 306.92°) |
| OKLab | oklab(55.86% 0.0784 -0.1988) |
| OKLCH | oklch(55.86% 0.214 291.5) |
| XYZ | xyz(24.9640, 15.4035, 75.0416) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.86
Light Indigo
#6D5ACF
ΔE00 4.60
Bluish Purple
#703BE7
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 5.09
Purpleish Blue
#6140EF
ΔE00 5.21
Dark Periwinkle
#665FD1
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FE4 #B8E44F
analogous
#4F6EE4 #7B4FE4 #C54FE4
triadic
#7B4FE4 #E47B4F #4FE47B
tetradic
#7B4FE4 #E44F6E #B8E44F #4FE4C5
square
#7B4FE4 #E44F6E #B8E44F #4FE4C5
split-complementary
#7B4FE4 #E4C54F #6EE44F
monochromatic
#4119A0 #5621D5 #7B4FE4 #A384EC #CBB9F4
Accessibility & contrast
On white
5.15
#7B4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7B4FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FE4
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FE4 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#5B7393
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7b4fe4; /* rgb */ color: rgb(123, 79, 228); /* oklch */ color: oklch(55.9% 0.214 291.5);
Tailwind
colors: {
custom: {
50: '#a983ed',
500: '#7b4fe4',
950: '#000000',
},
}SCSS
$custom: #7b4fe4; $custom-light: #a983ed; $custom-dark: #000000;
JSON
{
"hex": "#7b4fe4",
"rgb": {
"r": 123,
"g": 79,
"b": 228
},
"hsl": {
"h": 257.718,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.55864,
"c": 0.21371,
"h": 291.5
},
"luminance": 0.15404
}Semantic roles & 50–950 ramp
primary
#7B4FE4
secondary
#D3E4AB
accent
#D6109B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84