#7B4FB7#7B4FB7
#7B4FB7 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.159 H 300.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FB7 |
|---|---|
| RGB | rgb(123, 79, 183) |
| HSL | hsl(265, 42%, 51%) |
| HSV | hsv(265, 57%, 72%) |
| CMYK | cmyk(32.8%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(43.10, 40.22, -48.52) |
| CIE-LCH | lch(43.10, 63.03, 309.66°) |
| OKLab | oklab(52.64% 0.081 -0.1373) |
| OKLCH | oklch(52.64% 0.159 300.5) |
| XYZ | xyz(19.5096, 13.2217, 46.3148) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.59
Deep Lavender
#8D5EB7
ΔE00 5.95
Light Indigo
#6D5ACF
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.38
Bluey Purple
#6241C7
ΔE00 6.62
Iris
#6258C4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FB7 #8BB74F
analogous
#4F57B7 #7B4FB7 #AF4FB7
triadic
#7B4FB7 #B77B4F #4FB77B
tetradic
#7B4FB7 #B74F57 #8BB74F #4FB7AF
square
#7B4FB7 #B74F57 #8BB74F #4FB7AF
split-complementary
#7B4FB7 #B7AF4F #57B74F
monochromatic
#412963 #5E3A8F #7B4FB7 #9C7AC9 #BCA6DB
Accessibility & contrast
On white
5.76
#7B4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#7B4FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FB7
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FB7 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#3265B5
Tritanopia (blue-blind)
#6F647B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7b4fb7; /* rgb */ color: rgb(123, 79, 183); /* oklch */ color: oklch(52.6% 0.159 300.5);
Tailwind
colors: {
custom: {
50: '#a582cd',
500: '#7b4fb7',
950: '#000000',
},
}SCSS
$custom: #7b4fb7; $custom-light: #a582cd; $custom-dark: #000000;
JSON
{
"hex": "#7b4fb7",
"rgb": {
"r": 123,
"g": 79,
"b": 183
},
"hsl": {
"h": 265.385,
"s": 41.935,
"l": 51.373
},
"oklch": {
"l": 0.52641,
"c": 0.15941,
"h": 300.5
},
"luminance": 0.13222
}Semantic roles & 50–950 ramp
primary
#7B4FB7
secondary
#B4C89A
accent
#D2569D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100A13
muted
#7F7C82