#7B4FCA#7B4FCA
#7B4FCA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.183 H 296.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FCA |
|---|---|
| RGB | rgb(123, 79, 202) |
| HSL | hsl(261, 54%, 55%) |
| HSV | hsv(261, 61%, 79%) |
| CMYK | cmyk(39.1%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.33, 45.19, -57.59) |
| CIE-LCH | lch(44.33, 73.20, 308.12°) |
| OKLab | oklab(53.94% 0.0807 -0.1639) |
| OKLCH | oklch(53.94% 0.183 296.2) |
| XYZ | xyz(21.6223, 14.0668, 57.4416) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.35
Slate Blue
#6A5ACD
ΔE00 4.72
Purpley
#8756E4
ΔE00 4.80
Royal Purple
#7851A9
ΔE00 5.59
Iris
#6258C4
ΔE00 5.62
Bluey Purple
#6241C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FCA #9ECA4F
analogous
#4F61CA #7B4FCA #B84FCA
triadic
#7B4FCA #CA7B4F #4FCA7B
tetradic
#7B4FCA #CA4F61 #9ECA4F #4FCAB8
square
#7B4FCA #CA4F61 #9ECA4F #4FCAB8
split-complementary
#7B4FCA #CAB84F #61CA4F
monochromatic
#43257A #5D33A9 #7B4FCA #9E7ED8 #C2ADE6
Accessibility & contrast
On white
5.51
#7B4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7B4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FCA
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FCA | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1167C7
Tritanopia (blue-blind)
#686A85
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b4fca; /* rgb */ color: rgb(123, 79, 202); /* oklch */ color: oklch(53.9% 0.183 296.2);
Tailwind
colors: {
custom: {
50: '#a682db',
500: '#7b4fca',
950: '#000000',
},
}SCSS
$custom: #7b4fca; $custom-light: #a682db; $custom-dark: #000000;
JSON
{
"hex": "#7b4fca",
"rgb": {
"r": 123,
"g": 79,
"b": 202
},
"hsl": {
"h": 261.463,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.53937,
"c": 0.1827,
"h": 296.2
},
"luminance": 0.14067
}Semantic roles & 50–950 ramp
primary
#7B4FCA
secondary
#C2D4A1
accent
#DD4BA9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83