#7F4BC0#7F4BC0
#7F4BC0 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.177 H 301.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4BC0 |
|---|---|
| RGB | rgb(127, 75, 192) |
| HSL | hsl(267, 48%, 52%) |
| HSV | hsv(267, 61%, 75%) |
| CMYK | cmyk(33.9%, 60.9%, 0%, 24.7%) |
| CIE-LAB | lab(43.29, 45.67, -53.45) |
| CIE-LCH | lch(43.29, 70.31, 310.51°) |
| OKLab | oklab(53.07% 0.0912 -0.1516) |
| OKLCH | oklch(53.07% 0.177 301) |
| XYZ | xyz(20.7806, 13.3498, 51.3409) |
| Luminance | 0.1335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.32
Darkorchid
#9932CC
ΔE00 5.93
Bluey Purple
#6241C7
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.30
Purply
#983FB2
ΔE00 6.40
Purpley
#8756E4
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4BC0 #8CC04B
analogous
#4B51C0 #7F4BC0 #BA4BC0
triadic
#7F4BC0 #C07F4B #4BC07F
tetradic
#7F4BC0 #C04B51 #8CC04B #4BC0BA
square
#7F4BC0 #C04B51 #8CC04B #4BC0BA
split-complementary
#7F4BC0 #C0BA4B #51C04B
monochromatic
#44256B #613598 #7F4BC0 #9F78D0 #BFA6E0
Accessibility & contrast
On white
5.72
#7F4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7F4BC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4BC0
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4BC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4BC0 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C4
Deuteranopia (green-blind)
#2566BD
Tritanopia (blue-blind)
#72647E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7f4bc0; /* rgb */ color: rgb(127, 75, 192); /* oklch */ color: oklch(53.1% 0.177 301.0);
Tailwind
colors: {
custom: {
50: '#a880d4',
500: '#7f4bc0',
950: '#000000',
},
}SCSS
$custom: #7f4bc0; $custom-light: #a880d4; $custom-dark: #000000;
JSON
{
"hex": "#7f4bc0",
"rgb": {
"r": 127,
"g": 75,
"b": 192
},
"hsl": {
"h": 266.667,
"s": 48.148,
"l": 52.353
},
"oklch": {
"l": 0.53066,
"c": 0.17693,
"h": 301
},
"luminance": 0.1335
}Semantic roles & 50–950 ramp
primary
#7F4BC0
secondary
#B6CD9A
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83