#7F4FBB#7F4FBB
#7F4FBB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.3% C 0.165 H 301.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FBB |
|---|---|
| RGB | rgb(127, 79, 187) |
| HSL | hsl(267, 44%, 52%) |
| HSV | hsv(267, 58%, 73%) |
| CMYK | cmyk(32.1%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(43.79, 42.23, -49.73) |
| CIE-LCH | lch(43.79, 65.24, 310.33°) |
| OKLab | oklab(53.33% 0.0863 -0.1407) |
| OKLCH | oklch(53.33% 0.165 301.5) |
| XYZ | xyz(20.5159, 13.6918, 48.5660) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.28
Deep Lavender
#8D5EB7
ΔE00 5.58
Light Indigo
#6D5ACF
ΔE00 6.22
Purply
#983FB2
ΔE00 6.43
Slate Blue
#6A5ACD
ΔE00 6.49
Purpley
#8756E4
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FBB #8BBB4F
analogous
#4F55BB #7F4FBB #B54FBB
triadic
#7F4FBB #BB7F4F #4FBB7F
tetradic
#7F4FBB #BB4F55 #8BBB4F #4FBBB5
square
#7F4FBB #BB4F55 #8BBB4F #4FBBB5
split-complementary
#7F4FBB #BBB54F #55BB4F
monochromatic
#442868 #613994 #7F4FBB #9F7BCC #BFA7DD
Accessibility & contrast
On white
5.62
#7F4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7F4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FBB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FBB | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#73657D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7f4fbb; /* rgb */ color: rgb(127, 79, 187); /* oklch */ color: oklch(53.3% 0.165 301.5);
Tailwind
colors: {
custom: {
50: '#a882d0',
500: '#7f4fbb',
950: '#000000',
},
}SCSS
$custom: #7f4fbb; $custom-light: #a882d0; $custom-dark: #000000;
JSON
{
"hex": "#7f4fbb",
"rgb": {
"r": 127,
"g": 79,
"b": 187
},
"hsl": {
"h": 266.667,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.5333,
"c": 0.16507,
"h": 301.5
},
"luminance": 0.13692
}Semantic roles & 50–950 ramp
primary
#7F4FBB
secondary
#B6CA9B
accent
#D4549B
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82