#7F50D5#7F50D5
#7F50D5 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.195 H 295.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7F50D5 |
|---|---|
| RGB | rgb(127, 80, 213) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 62%, 84%) |
| CMYK | cmyk(40.4%, 62.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.71, 48.41, -61.66) |
| CIE-LCH | lch(45.71, 78.40, 308.14°) |
| OKLab | oklab(55.28% 0.0842 -0.1758) |
| OKLCH | oklch(55.28% 0.195 295.6) |
| XYZ | xyz(23.6281, 15.0529, 64.5985) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.15
Light Indigo
#6D5ACF
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.89
Bluish Purple
#703BE7
ΔE00 5.61
Iris
#6258C4
ΔE00 6.27
Dark Periwinkle
#665FD1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F50D5 #A6D550
analogous
#5064D5 #7F50D5 #C150D5
triadic
#7F50D5 #D57F50 #50D57F
tetradic
#7F50D5 #D55064 #A6D550 #50D5C1
square
#7F50D5 #D55064 #A6D550 #50D5C1
split-complementary
#7F50D5 #D5C150 #64D550
monochromatic
#46218A #5F2DBB #7F50D5 #A381E1 #C7B3ED
Accessibility & contrast
On white
5.24
#7F50D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7F50D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F50D5
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F50D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F50D5 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#006AD2
Tritanopia (blue-blind)
#696E8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f50d5; /* rgb */ color: rgb(127, 80, 213); /* oklch */ color: oklch(55.3% 0.195 295.6);
Tailwind
colors: {
custom: {
50: '#aa83e3',
500: '#7f50d5',
950: '#000000',
},
}SCSS
$custom: #7f50d5; $custom-light: #aa83e3; $custom-dark: #000000;
JSON
{
"hex": "#7f50d5",
"rgb": {
"r": 127,
"g": 80,
"b": 213
},
"hsl": {
"h": 261.203,
"s": 61.29,
"l": 57.451
},
"oklch": {
"l": 0.55276,
"c": 0.19491,
"h": 295.6
},
"luminance": 0.15053
}Semantic roles & 50–950 ramp
primary
#7F50D5
secondary
#C8DBA6
accent
#E443AC
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B15
muted
#807C84