#7B4FD6#7B4FD6
#7B4FD6 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.197 H 293.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FD6 |
|---|---|
| RGB | rgb(123, 79, 214) |
| HSL | hsl(260, 62%, 57%) |
| HSV | hsv(260, 63%, 84%) |
| CMYK | cmyk(42.5%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(45.16, 48.40, -63.14) |
| CIE-LCH | lch(45.16, 79.55, 307.47°) |
| OKLab | oklab(54.81% 0.0799 -0.1802) |
| OKLCH | oklch(54.81% 0.197 293.9) |
| XYZ | xyz(23.0987, 14.6573, 65.2174) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.53
Bluish Purple
#703BE7
ΔE00 5.02
Iris
#6258C4
ΔE00 5.81
Purpleish Blue
#6140EF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FD6 #AAD64F
analogous
#4F66D6 #7B4FD6 #BF4FD6
triadic
#7B4FD6 #D67B4F #4FD67B
tetradic
#7B4FD6 #D64F66 #AAD64F #4FD6BF
square
#7B4FD6 #D64F66 #AAD64F #4FD6BF
split-complementary
#7B4FD6 #D6BF4F #66D64F
monochromatic
#43208A #5B2CBC #7B4FD6 #A081E2 #C5B2ED
Accessibility & contrast
On white
5.34
#7B4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7B4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FD6
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FD6 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#626E8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b4fd6; /* rgb */ color: rgb(123, 79, 214); /* oklch */ color: oklch(54.8% 0.197 293.9);
Tailwind
colors: {
custom: {
50: '#a783e3',
500: '#7b4fd6',
950: '#000000',
},
}SCSS
$custom: #7b4fd6; $custom-light: #a783e3; $custom-dark: #000000;
JSON
{
"hex": "#7b4fd6",
"rgb": {
"r": 123,
"g": 79,
"b": 214
},
"hsl": {
"h": 259.556,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.54806,
"c": 0.19714,
"h": 293.9
},
"luminance": 0.14658
}Semantic roles & 50–950 ramp
primary
#7B4FD6
secondary
#CADCA5
accent
#E543B0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84