#7F4FC3#7F4FC3
#7F4FC3 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.175 H 299.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FC3 |
|---|---|
| RGB | rgb(127, 79, 195) |
| HSL | hsl(265, 49%, 54%) |
| HSV | hsv(265, 59%, 76%) |
| CMYK | cmyk(34.9%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(44.30, 44.27, -53.57) |
| CIE-LCH | lch(44.30, 69.49, 309.57°) |
| OKLab | oklab(53.86% 0.0863 -0.152) |
| OKLCH | oklch(53.86% 0.175 299.6) |
| XYZ | xyz(21.3963, 14.0439, 53.2027) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 5.39
Purpley
#8756E4
ΔE00 5.52
Slate Blue
#6A5ACD
ΔE00 5.73
Deep Lavender
#8D5EB7
ΔE00 6.09
Bluey Purple
#6241C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FC3 #93C34F
analogous
#4F59C3 #7F4FC3 #B94FC3
triadic
#7F4FC3 #C37F4F #4FC37F
tetradic
#7F4FC3 #C34F59 #93C34F #4FC3B9
square
#7F4FC3 #C34F59 #93C34F #4FC3B9
split-complementary
#7F4FC3 #C3B94F #59C34F
monochromatic
#452771 #61369F #7F4FC3 #A07DD3 #C1AAE2
Accessibility & contrast
On white
5.51
#7F4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7F4FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FC3
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FC3 | 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)
#0969C7
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#706781
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7f4fc3; /* rgb */ color: rgb(127, 79, 195); /* oklch */ color: oklch(53.9% 0.175 299.6);
Tailwind
colors: {
custom: {
50: '#a882d6',
500: '#7f4fc3',
950: '#000000',
},
}SCSS
$custom: #7f4fc3; $custom-light: #a882d6; $custom-dark: #000000;
JSON
{
"hex": "#7f4fc3",
"rgb": {
"r": 127,
"g": 79,
"b": 195
},
"hsl": {
"h": 264.828,
"s": 49.153,
"l": 53.725
},
"oklch": {
"l": 0.53865,
"c": 0.17475,
"h": 299.6
},
"luminance": 0.14044
}Semantic roles & 50–950 ramp
primary
#7F4FC3
secondary
#BBD09E
accent
#D94FA0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83