#7F50BF#7F50BF
#7F50BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.168 H 300.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F50BF |
|---|---|
| RGB | rgb(127, 80, 191) |
| HSL | hsl(265, 46%, 53%) |
| HSV | hsv(265, 58%, 75%) |
| CMYK | cmyk(33.5%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(44.25, 42.69, -51.32) |
| CIE-LCH | lch(44.25, 66.75, 309.75°) |
| OKLab | oklab(53.75% 0.0851 -0.1454) |
| OKLCH | oklch(53.75% 0.168 300.3) |
| XYZ | xyz(21.0228, 14.0108, 50.8769) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.84
Deep Lavender
#8D5EB7
ΔE00 5.62
Light Indigo
#6D5ACF
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 5.95
Purpley
#8756E4
ΔE00 6.00
Iris
#6258C4
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F50BF #90BF50
analogous
#5058BF #7F50BF #B650BF
triadic
#7F50BF #BF7F50 #50BF7F
tetradic
#7F50BF #BF5058 #90BF50 #50BFB6
square
#7F50BF #BF5058 #90BF50 #50BFB6
split-complementary
#7F50BF #BFB650 #58BF50
monochromatic
#45286D #61389A #7F50BF #A07DCF #C1AAE0
Accessibility & contrast
On white
5.52
#7F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7F50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F50BF
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F50BF | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#726780
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7f50bf; /* rgb */ color: rgb(127, 80, 191); /* oklch */ color: oklch(53.7% 0.168 300.3);
Tailwind
colors: {
custom: {
50: '#a883d3',
500: '#7f50bf',
950: '#000000',
},
}SCSS
$custom: #7f50bf; $custom-light: #a883d3; $custom-dark: #000000;
JSON
{
"hex": "#7f50bf",
"rgb": {
"r": 127,
"g": 80,
"b": 191
},
"hsl": {
"h": 265.405,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.53748,
"c": 0.16845,
"h": 300.3
},
"luminance": 0.14011
}Semantic roles & 50–950 ramp
primary
#7F50BF
secondary
#B9CD9D
accent
#D6529E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83