#7F47C2#7F47C2
#7F47C2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.185 H 301.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F47C2 |
|---|---|
| RGB | rgb(127, 71, 194) |
| HSL | hsl(267, 50%, 52%) |
| HSV | hsv(267, 63%, 76%) |
| CMYK | cmyk(34.5%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(42.63, 48.30, -55.67) |
| CIE-LCH | lch(42.63, 73.70, 310.94°) |
| OKLab | oklab(52.63% 0.0958 -0.1581) |
| OKLCH | oklch(52.63% 0.185 301.2) |
| XYZ | xyz(20.7409, 12.9134, 52.4283) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.33
Bluey Purple
#6241C7
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.82
Bluish Purple
#703BE7
ΔE00 6.16
Purply
#983FB2
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F47C2 #8AC247
analogous
#474DC2 #7F47C2 #BD47C2
triadic
#7F47C2 #C27F47 #47C27F
tetradic
#7F47C2 #C2474D #8AC247 #47C2BD
square
#7F47C2 #C2474D #8AC247 #47C2BD
split-complementary
#7F47C2 #C2BD47 #4DC247
monochromatic
#44246B #613399 #7F47C2 #9F75D1 #BFA3E0
Accessibility & contrast
On white
5.86
#7F47C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#7F47C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F47C2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F47C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F47C2 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#71627E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7f47c2; /* rgb */ color: rgb(127, 71, 194); /* oklch */ color: oklch(52.6% 0.185 301.2);
Tailwind
colors: {
custom: {
50: '#a97dd5',
500: '#7f47c2',
950: '#000000',
},
}SCSS
$custom: #7f47c2; $custom-light: #a97dd5; $custom-dark: #000000;
JSON
{
"hex": "#7f47c2",
"rgb": {
"r": 127,
"g": 71,
"b": 194
},
"hsl": {
"h": 267.317,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.52634,
"c": 0.18489,
"h": 301.2
},
"luminance": 0.12914
}Semantic roles & 50–950 ramp
primary
#7F47C2
secondary
#B5CD97
accent
#DA4E9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83