#7F49BF#7F49BF
#7F49BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.179 H 301.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7F49BF |
|---|---|
| RGB | rgb(127, 73, 191) |
| HSL | hsl(267, 48%, 52%) |
| HSV | hsv(267, 62%, 75%) |
| CMYK | cmyk(33.5%, 61.8%, 0%, 25.1%) |
| CIE-LAB | lab(42.82, 46.49, -53.62) |
| CIE-LCH | lch(42.82, 70.97, 310.93°) |
| OKLab | oklab(52.71% 0.0936 -0.1521) |
| OKLCH | oklch(52.71% 0.179 301.6) |
| XYZ | xyz(20.5367, 13.0386, 50.7149) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.41
Darkorchid
#9932CC
ΔE00 5.65
Bluey Purple
#6241C7
ΔE00 5.93
Purply
#983FB2
ΔE00 6.16
Blueviolet
#8A2BE2
ΔE00 6.44
Light Indigo
#6D5ACF
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F49BF #89BF49
analogous
#494EBF #7F49BF #BA49BF
triadic
#7F49BF #BF7F49 #49BF7F
tetradic
#7F49BF #BF494E #89BF49 #49BFBA
square
#7F49BF #BF494E #89BF49 #49BFBA
split-complementary
#7F49BF #BFBA49 #4EBF49
monochromatic
#442569 #613596 #7F49BF #9F76CF #BFA4DF
Accessibility & contrast
On white
5.82
#7F49BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7F49BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F49BF
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F49BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F49BF | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#2365BC
Tritanopia (blue-blind)
#72627D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7f49bf; /* rgb */ color: rgb(127, 73, 191); /* oklch */ color: oklch(52.7% 0.179 301.6);
Tailwind
colors: {
custom: {
50: '#a87ed3',
500: '#7f49bf',
950: '#000000',
},
}SCSS
$custom: #7f49bf; $custom-light: #a87ed3; $custom-dark: #000000;
JSON
{
"hex": "#7f49bf",
"rgb": {
"r": 127,
"g": 73,
"b": 191
},
"hsl": {
"h": 267.458,
"s": 47.967,
"l": 51.765
},
"oklch": {
"l": 0.52707,
"c": 0.17861,
"h": 301.6
},
"luminance": 0.13039
}Semantic roles & 50–950 ramp
primary
#7F49BF
secondary
#B4CC98
accent
#D8509A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83