#7B4FE6#7B4FE6
#7B4FE6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.216 H 291.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FE6 |
|---|---|
| RGB | rgb(123, 79, 230) |
| HSL | hsl(257, 75%, 61%) |
| HSV | hsv(257, 66%, 90%) |
| CMYK | cmyk(46.5%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(46.33, 52.72, -70.34) |
| CIE-LCH | lch(46.33, 87.91, 306.85°) |
| OKLab | oklab(56.02% 0.0781 -0.2014) |
| OKLCH | oklch(56.02% 0.216 291.2) |
| XYZ | xyz(25.2433, 15.5152, 76.5122) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.84
Light Indigo
#6D5ACF
ΔE00 4.73
Bluish Purple
#703BE7
ΔE00 4.82
Purpleish Blue
#6140EF
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.23
Dark Periwinkle
#665FD1
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FE6 #BAE64F
analogous
#4F6FE6 #7B4FE6 #C64FE6
triadic
#7B4FE6 #E67B4F #4FE67B
tetradic
#7B4FE6 #E64F6F #BAE64F #4FE6C6
square
#7B4FE6 #E64F6F #BAE64F #4FE6C6
split-complementary
#7B4FE6 #E6C64F #6FE64F
monochromatic
#4017A3 #551FD9 #7B4FE6 #A385EE #CBBAF5
Accessibility & contrast
On white
5.12
#7B4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#7B4FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FE6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FE6 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#5A7494
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b4fe6; /* rgb */ color: rgb(123, 79, 230); /* oklch */ color: oklch(56.0% 0.216 291.2);
Tailwind
colors: {
custom: {
50: '#a983ef',
500: '#7b4fe6',
950: '#000000',
},
}SCSS
$custom: #7b4fe6; $custom-light: #a983ef; $custom-dark: #000000;
JSON
{
"hex": "#7b4fe6",
"rgb": {
"r": 123,
"g": 79,
"b": 230
},
"hsl": {
"h": 257.483,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.56019,
"c": 0.21605,
"h": 291.2
},
"luminance": 0.15516
}Semantic roles & 50–950 ramp
primary
#7B4FE6
secondary
#D4E5AC
accent
#D70E9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85