#7F4FC0#7F4FC0
#7F4FC0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.171 H 300.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FC0 |
|---|---|
| RGB | rgb(127, 79, 192) |
| HSL | hsl(265, 47%, 53%) |
| HSV | hsv(265, 59%, 75%) |
| CMYK | cmyk(33.9%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(44.10, 43.50, -52.14) |
| CIE-LCH | lch(44.10, 67.90, 309.84°) |
| OKLab | oklab(53.66% 0.0863 -0.1478) |
| OKLCH | oklch(53.66% 0.171 300.3) |
| XYZ | xyz(21.0605, 13.9096, 51.4342) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 5.67
Deep Lavender
#8D5EB7
ΔE00 5.88
Purpley
#8756E4
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 5.99
Bluey Purple
#6241C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FC0 #90C04F
analogous
#4F57C0 #7F4FC0 #B74FC0
triadic
#7F4FC0 #C07F4F #4FC07F
tetradic
#7F4FC0 #C04F57 #90C04F #4FC0B7
square
#7F4FC0 #C04F57 #90C04F #4FC0B7
split-complementary
#7F4FC0 #C0B74F #57C04F
monochromatic
#45276D #61379A #7F4FC0 #A07CD0 #C1A9E0
Accessibility & contrast
On white
5.55
#7F4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7F4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FC0
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FC0 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#2C67BD
Tritanopia (blue-blind)
#716680
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7f4fc0; /* rgb */ color: rgb(127, 79, 192); /* oklch */ color: oklch(53.7% 0.171 300.3);
Tailwind
colors: {
custom: {
50: '#a882d4',
500: '#7f4fc0',
950: '#000000',
},
}SCSS
$custom: #7f4fc0; $custom-light: #a882d4; $custom-dark: #000000;
JSON
{
"hex": "#7f4fc0",
"rgb": {
"r": 127,
"g": 79,
"b": 192
},
"hsl": {
"h": 265.487,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.53662,
"c": 0.17113,
"h": 300.3
},
"luminance": 0.1391
}Semantic roles & 50–950 ramp
primary
#7F4FC0
secondary
#B9CE9D
accent
#D7519E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83