#7F4EBF#7F4EBF
#7F4EBF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.171 H 300.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4EBF |
|---|---|
| RGB | rgb(127, 78, 191) |
| HSL | hsl(266, 47%, 53%) |
| HSV | hsv(266, 59%, 75%) |
| CMYK | cmyk(33.5%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(43.83, 43.79, -51.99) |
| CIE-LCH | lch(43.83, 67.97, 310.11°) |
| OKLab | oklab(53.44% 0.0876 -0.1473) |
| OKLCH | oklch(53.44% 0.171 300.7) |
| XYZ | xyz(20.8785, 13.7223, 50.8288) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.94
Light Indigo
#6D5ACF
ΔE00 5.92
Deep Lavender
#8D5EB7
ΔE00 6.01
Purpley
#8756E4
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.22
Darkorchid
#9932CC
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4EBF #8EBF4E
analogous
#4E55BF #7F4EBF #B84EBF
triadic
#7F4EBF #BF7F4E #4EBF7F
tetradic
#7F4EBF #BF4E55 #8EBF4E #4EBFB8
square
#7F4EBF #BF4E55 #8EBF4E #4EBFB8
split-complementary
#7F4EBF #BFB84E #55BF4E
monochromatic
#45276C #613799 #7F4EBF #A07BCF #C0A8E0
Accessibility & contrast
On white
5.61
#7F4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#7F4EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4EBF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4EBF | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#72657F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7f4ebf; /* rgb */ color: rgb(127, 78, 191); /* oklch */ color: oklch(53.4% 0.171 300.7);
Tailwind
colors: {
custom: {
50: '#a882d3',
500: '#7f4ebf',
950: '#000000',
},
}SCSS
$custom: #7f4ebf; $custom-light: #a882d3; $custom-dark: #000000;
JSON
{
"hex": "#7f4ebf",
"rgb": {
"r": 127,
"g": 78,
"b": 191
},
"hsl": {
"h": 266.018,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.53443,
"c": 0.17139,
"h": 300.7
},
"luminance": 0.13722
}Semantic roles & 50–950 ramp
primary
#7F4EBF
secondary
#B8CD9C
accent
#D7519D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83