#7F4CC0#7F4CC0
#7F4CC0 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.175 H 300.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4CC0 |
|---|---|
| RGB | rgb(127, 76, 192) |
| HSL | hsl(266, 48%, 53%) |
| HSV | hsv(266, 60%, 75%) |
| CMYK | cmyk(33.9%, 60.4%, 0%, 24.7%) |
| CIE-LAB | lab(43.49, 45.13, -53.13) |
| CIE-LCH | lch(43.49, 69.71, 310.35°) |
| OKLab | oklab(53.21% 0.09 -0.1507) |
| OKLCH | oklch(53.21% 0.176 300.8) |
| XYZ | xyz(20.8490, 13.4866, 51.3637) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.23
Darkorchid
#9932CC
ΔE00 6.09
Light Indigo
#6D5ACF
ΔE00 6.14
Bluey Purple
#6241C7
ΔE00 6.19
Purpley
#8756E4
ΔE00 6.28
Slate Blue
#6A5ACD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4CC0 #8DC04C
analogous
#4C53C0 #7F4CC0 #B94CC0
triadic
#7F4CC0 #C07F4C #4CC07F
tetradic
#7F4CC0 #C04C53 #8DC04C #4CC0B9
square
#7F4CC0 #C04C53 #8DC04C #4CC0B9
split-complementary
#7F4CC0 #C0B94C #53C04C
monochromatic
#45266C #613699 #7F4CC0 #9F79D0 #C0A7E0
Accessibility & contrast
On white
5.68
#7F4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#7F4CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4CC0
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4CC0 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0166C4
Deuteranopia (green-blind)
#2766BD
Tritanopia (blue-blind)
#71647F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7f4cc0; /* rgb */ color: rgb(127, 76, 192); /* oklch */ color: oklch(53.2% 0.175 300.8);
Tailwind
colors: {
custom: {
50: '#a880d4',
500: '#7f4cc0',
950: '#000000',
},
}SCSS
$custom: #7f4cc0; $custom-light: #a880d4; $custom-dark: #000000;
JSON
{
"hex": "#7f4cc0",
"rgb": {
"r": 127,
"g": 76,
"b": 192
},
"hsl": {
"h": 266.379,
"s": 47.934,
"l": 52.549
},
"oklch": {
"l": 0.53212,
"c": 0.1755,
"h": 300.8
},
"luminance": 0.13487
}Semantic roles & 50–950 ramp
primary
#7F4CC0
secondary
#B7CD9B
accent
#D8509C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83