#7B4FD3#7B4FD3
#7B4FD3 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.194 H 294.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FD3 |
|---|---|
| RGB | rgb(123, 79, 211) |
| HSL | hsl(260, 60%, 57%) |
| HSV | hsv(260, 63%, 83%) |
| CMYK | cmyk(41.7%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(44.95, 47.59, -61.76) |
| CIE-LCH | lch(44.95, 77.97, 307.62°) |
| OKLab | oklab(54.58% 0.0801 -0.1762) |
| OKLCH | oklch(54.58% 0.194 294.4) |
| XYZ | xyz(22.7191, 14.5055, 63.2182) |
| Luminance | 0.1451 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.85
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.51
Bluish Purple
#703BE7
ΔE00 5.18
Iris
#6258C4
ΔE00 5.71
Bluey Purple
#6241C7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FD3 #A7D34F
analogous
#4F65D3 #7B4FD3 #BD4FD3
triadic
#7B4FD3 #D37B4F #4FD37B
tetradic
#7B4FD3 #D34F65 #A7D34F #4FD3BD
square
#7B4FD3 #D34F65 #A7D34F #4FD3BD
split-complementary
#7B4FD3 #D3BD4F #65D34F
monochromatic
#432286 #5C2EB7 #7B4FD3 #A080DF #C4B1EB
Accessibility & contrast
On white
5.38
#7B4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#7B4FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FD3
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FD3 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#646D8A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7b4fd3; /* rgb */ color: rgb(123, 79, 211); /* oklch */ color: oklch(54.6% 0.194 294.4);
Tailwind
colors: {
custom: {
50: '#a782e1',
500: '#7b4fd3',
950: '#000000',
},
}SCSS
$custom: #7b4fd3; $custom-light: #a782e1; $custom-dark: #000000;
JSON
{
"hex": "#7b4fd3",
"rgb": {
"r": 123,
"g": 79,
"b": 211
},
"hsl": {
"h": 260,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.54585,
"c": 0.19355,
"h": 294.4
},
"luminance": 0.14506
}Semantic roles & 50–950 ramp
primary
#7B4FD3
secondary
#C8DAA4
accent
#E345AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83