#7F50D4#7F50D4
#7F50D4 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.194 H 295.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F50D4 |
|---|---|
| RGB | rgb(127, 80, 212) |
| HSL | hsl(261, 61%, 57%) |
| HSV | hsv(261, 62%, 83%) |
| CMYK | cmyk(40.1%, 62.3%, 0%, 16.9%) |
| CIE-LAB | lab(45.64, 48.15, -61.20) |
| CIE-LCH | lch(45.64, 77.87, 308.19°) |
| OKLab | oklab(55.2% 0.0843 -0.1744) |
| OKLCH | oklch(55.2% 0.194 295.8) |
| XYZ | xyz(23.5016, 15.0023, 63.9321) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.25
Light Indigo
#6D5ACF
ΔE00 4.39
Slate Blue
#6A5ACD
ΔE00 4.89
Bluish Purple
#703BE7
ΔE00 5.66
Iris
#6258C4
ΔE00 6.24
Dark Periwinkle
#665FD1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F50D4 #A5D450
analogous
#5063D4 #7F50D4 #C150D4
triadic
#7F50D4 #D47F50 #50D47F
tetradic
#7F50D4 #D45063 #A5D450 #50D4C1
square
#7F50D4 #D45063 #A5D450 #50D4C1
split-complementary
#7F50D4 #D4C150 #63D450
monochromatic
#462188 #5F2EB9 #7F50D4 #A381E0 #C7B2EC
Accessibility & contrast
On white
5.25
#7F50D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#7F50D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F50D4
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F50D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F50D4 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#696E8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7f50d4; /* rgb */ color: rgb(127, 80, 212); /* oklch */ color: oklch(55.2% 0.194 295.8);
Tailwind
colors: {
custom: {
50: '#aa83e2',
500: '#7f50d4',
950: '#000000',
},
}SCSS
$custom: #7f50d4; $custom-light: #aa83e2; $custom-dark: #000000;
JSON
{
"hex": "#7f50d4",
"rgb": {
"r": 127,
"g": 80,
"b": 212
},
"hsl": {
"h": 261.364,
"s": 60.55,
"l": 57.255
},
"oklch": {
"l": 0.55203,
"c": 0.19371,
"h": 295.8
},
"luminance": 0.15003
}Semantic roles & 50–950 ramp
primary
#7F50D4
secondary
#C8DBA5
accent
#E444AB
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83