#7B4FCB#7B4FCB
#7B4FCB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.184 H 296.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FCB |
|---|---|
| RGB | rgb(123, 79, 203) |
| HSL | hsl(261, 54%, 55%) |
| HSV | hsv(261, 61%, 80%) |
| CMYK | cmyk(39.4%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.40, 45.46, -58.06) |
| CIE-LCH | lch(44.40, 73.74, 308.06°) |
| OKLab | oklab(54.01% 0.0806 -0.1653) |
| OKLCH | oklch(54.01% 0.184 296) |
| XYZ | xyz(21.7411, 14.1143, 58.0672) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.67
Purpley
#8756E4
ΔE00 4.69
Iris
#6258C4
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FCB #9FCB4F
analogous
#4F61CB #7B4FCB #B94FCB
triadic
#7B4FCB #CB7B4F #4FCB7B
tetradic
#7B4FCB #CB4F61 #9FCB4F #4FCBB9
square
#7B4FCB #CB4F61 #9FCB4F #4FCBB9
split-complementary
#7B4FCB #CBB94F #61CB4F
monochromatic
#43247B #5D32AA #7B4FCB #9E7ED9 #C2ADE7
Accessibility & contrast
On white
5.49
#7B4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#7B4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FCB
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FCB | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0D67C8
Tritanopia (blue-blind)
#676A86
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b4fcb; /* rgb */ color: rgb(123, 79, 203); /* oklch */ color: oklch(54.0% 0.184 296.0);
Tailwind
colors: {
custom: {
50: '#a682dc',
500: '#7b4fcb',
950: '#000000',
},
}SCSS
$custom: #7b4fcb; $custom-light: #a682dc; $custom-dark: #000000;
JSON
{
"hex": "#7b4fcb",
"rgb": {
"r": 123,
"g": 79,
"b": 203
},
"hsl": {
"h": 261.29,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.54008,
"c": 0.18392,
"h": 296
},
"luminance": 0.14115
}Semantic roles & 50–950 ramp
primary
#7B4FCB
secondary
#C2D5A1
accent
#DE4AA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83