#7F4CC2#7F4CC2
#7F4CC2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.178 H 300.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CC2 |
|---|---|
| RGB | rgb(127, 76, 194) |
| HSL | hsl(266, 49%, 53%) |
| HSV | hsv(266, 61%, 76%) |
| CMYK | cmyk(34.5%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(43.62, 45.64, -54.08) |
| CIE-LCH | lch(43.62, 70.76, 310.16°) |
| OKLab | oklab(53.35% 0.0899 -0.1535) |
| OKLCH | oklch(53.35% 0.178 300.4) |
| XYZ | xyz(21.0721, 13.5758, 52.5387) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.51
Light Indigo
#6D5ACF
ΔE00 5.96
Purpley
#8756E4
ΔE00 6.01
Darkorchid
#9932CC
ΔE00 6.07
Bluey Purple
#6241C7
ΔE00 6.08
Slate Blue
#6A5ACD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CC2 #8FC24C
analogous
#4C54C2 #7F4CC2 #BA4CC2
triadic
#7F4CC2 #C27F4C #4CC27F
tetradic
#7F4CC2 #C24C54 #8FC24C #4CC2BA
square
#7F4CC2 #C24C54 #8FC24C #4CC2BA
split-complementary
#7F4CC2 #C2BA4C #54C24C
monochromatic
#45266E #61359C #7F4CC2 #A07AD2 #C0A7E1
Accessibility & contrast
On white
5.65
#7F4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#7F4CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CC2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CC2 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2366BF
Tritanopia (blue-blind)
#716580
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7f4cc2; /* rgb */ color: rgb(127, 76, 194); /* oklch */ color: oklch(53.3% 0.178 300.4);
Tailwind
colors: {
custom: {
50: '#a880d5',
500: '#7f4cc2',
950: '#000000',
},
}SCSS
$custom: #7f4cc2; $custom-light: #a880d5; $custom-dark: #000000;
JSON
{
"hex": "#7f4cc2",
"rgb": {
"r": 127,
"g": 76,
"b": 194
},
"hsl": {
"h": 265.932,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.5335,
"c": 0.17787,
"h": 300.4
},
"luminance": 0.13576
}Semantic roles & 50–950 ramp
primary
#7F4CC2
secondary
#B8CE9B
accent
#D94F9D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83