#7F4FBF#7F4FBF
#7F4FBF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.170 H 300.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4FBF |
|---|---|
| RGB | rgb(127, 79, 191) |
| HSL | hsl(266, 47%, 53%) |
| HSV | hsv(266, 59%, 75%) |
| CMYK | cmyk(33.5%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(44.04, 43.24, -51.66) |
| CIE-LCH | lch(44.04, 67.37, 309.93°) |
| OKLab | oklab(53.6% 0.0863 -0.1464) |
| OKLCH | oklch(53.6% 0.17 300.5) |
| XYZ | xyz(20.9501, 13.8654, 50.8527) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 5.78
Deep Lavender
#8D5EB7
ΔE00 5.81
Slate Blue
#6A5ACD
ΔE00 6.08
Purpley
#8756E4
ΔE00 6.09
Bluey Purple
#6241C7
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4FBF #8FBF4F
analogous
#4F57BF #7F4FBF #B74FBF
triadic
#7F4FBF #BF7F4F #4FBF7F
tetradic
#7F4FBF #BF4F57 #8FBF4F #4FBFB7
square
#7F4FBF #BF4F57 #8FBF4F #4FBFB7
split-complementary
#7F4FBF #BFB74F #57BF4F
monochromatic
#45276C #613899 #7F4FBF #A07CCF #C0A9E0
Accessibility & contrast
On white
5.57
#7F4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#7F4FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4FBF
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4FBF | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#72667F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7f4fbf; /* rgb */ color: rgb(127, 79, 191); /* oklch */ color: oklch(53.6% 0.170 300.5);
Tailwind
colors: {
custom: {
50: '#a882d3',
500: '#7f4fbf',
950: '#000000',
},
}SCSS
$custom: #7f4fbf; $custom-light: #a882d3; $custom-dark: #000000;
JSON
{
"hex": "#7f4fbf",
"rgb": {
"r": 127,
"g": 79,
"b": 191
},
"hsl": {
"h": 265.714,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.53595,
"c": 0.16992,
"h": 300.5
},
"luminance": 0.13866
}Semantic roles & 50–950 ramp
primary
#7F4FBF
secondary
#B8CD9D
accent
#D6519D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83