#7F4CC7#7F4CC7
#7F4CC7 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.184 H 299.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CC7 |
|---|---|
| RGB | rgb(127, 76, 199) |
| HSL | hsl(265, 52%, 54%) |
| HSV | hsv(265, 62%, 78%) |
| CMYK | cmyk(36.2%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(43.95, 46.92, -56.44) |
| CIE-LCH | lch(43.95, 73.40, 309.73°) |
| OKLab | oklab(53.7% 0.0897 -0.1604) |
| OKLCH | oklch(53.7% 0.184 299.2) |
| XYZ | xyz(21.6431, 13.8042, 55.5460) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.36
Light Indigo
#6D5ACF
ΔE00 5.57
Bluey Purple
#6241C7
ΔE00 5.90
Slate Blue
#6A5ACD
ΔE00 5.93
Darkorchid
#9932CC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CC7 #94C74C
analogous
#4C57C7 #7F4CC7 #BD4CC7
triadic
#7F4CC7 #C77F4C #4CC77F
tetradic
#7F4CC7 #C74C57 #94C74C #4CC7BD
square
#7F4CC7 #C74C57 #94C74C #4CC7BD
split-complementary
#7F4CC7 #C7BD4C #57C74C
monochromatic
#452474 #6133A3 #7F4CC7 #A07BD6 #C2A9E4
Accessibility & contrast
On white
5.58
#7F4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#7F4CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CC7
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CC7 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#1967C4
Tritanopia (blue-blind)
#6F6782
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7f4cc7; /* rgb */ color: rgb(127, 76, 199); /* oklch */ color: oklch(53.7% 0.184 299.2);
Tailwind
colors: {
custom: {
50: '#a981d9',
500: '#7f4cc7',
950: '#000000',
},
}SCSS
$custom: #7f4cc7; $custom-light: #a981d9; $custom-dark: #000000;
JSON
{
"hex": "#7f4cc7",
"rgb": {
"r": 127,
"g": 76,
"b": 199
},
"hsl": {
"h": 264.878,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.53697,
"c": 0.18378,
"h": 299.2
},
"luminance": 0.13804
}Semantic roles & 50–950 ramp
primary
#7F4CC7
secondary
#BCD29D
accent
#DC4CA0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A15
muted
#7F7C83