#7A4FCF#7A4FCF
#7A4FCF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.189 H 294.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FCF |
|---|---|
| RGB | rgb(122, 79, 207) |
| HSL | hsl(260, 57%, 56%) |
| HSV | hsv(260, 62%, 81%) |
| CMYK | cmyk(41.1%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.57, 46.31, -60.09) |
| CIE-LCH | lch(44.57, 75.87, 307.62°) |
| OKLab | oklab(54.2% 0.0791 -0.1713) |
| OKLCH | oklch(54.2% 0.189 294.8) |
| XYZ | xyz(22.0815, 14.2340, 60.6034) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.02
Purpley
#8756E4
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.42
Bluish Purple
#703BE7
ΔE00 5.39
Iris
#6258C4
ΔE00 5.48
Bluey Purple
#6241C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FCF #A4CF4F
analogous
#4F64CF #7A4FCF #BA4FCF
triadic
#7A4FCF #CF7A4F #4FCF7A
tetradic
#7A4FCF #CF4F64 #A4CF4F #4FCFBA
square
#7A4FCF #CF4F64 #A4CF4F #4FCFBA
split-complementary
#7A4FCF #CFBA4F #64CF4F
monochromatic
#422381 #5B30B1 #7A4FCF #9E7FDC #C3AFE9
Accessibility & contrast
On white
5.46
#7A4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7A4FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FCF
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FCF | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#646C88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7a4fcf; /* rgb */ color: rgb(122, 79, 207); /* oklch */ color: oklch(54.2% 0.189 294.8);
Tailwind
colors: {
custom: {
50: '#a682de',
500: '#7a4fcf',
950: '#000000',
},
}SCSS
$custom: #7a4fcf; $custom-light: #a682de; $custom-dark: #000000;
JSON
{
"hex": "#7a4fcf",
"rgb": {
"r": 122,
"g": 79,
"b": 207
},
"hsl": {
"h": 260.156,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.54195,
"c": 0.18867,
"h": 294.8
},
"luminance": 0.14235
}Semantic roles & 50–950 ramp
primary
#7A4FCF
secondary
#C6D7A2
accent
#E047AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83