#7F56F6#7F56F6
#7F56F6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.226 H 289.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F56F6 |
|---|---|
| RGB | rgb(127, 86, 246) |
| HSL | hsl(255, 90%, 65%) |
| HSV | hsv(255, 65%, 96%) |
| CMYK | cmyk(48.4%, 65%, 0%, 3.5%) |
| CIE-LAB | lab(49.28, 54.11, -74.52) |
| CIE-LCH | lch(49.28, 92.10, 305.99°) |
| OKLab | oklab(58.61% 0.0747 -0.2136) |
| OKLCH | oklch(58.61% 0.226 289.3) |
| XYZ | xyz(28.7100, 17.8202, 89.0978) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.81
Mediumslateblue
#7B68EE
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 6.12
Slate Blue
#6A5ACD
ΔE00 6.64
Lighter Purple
#A55AF4
ΔE00 6.80
Dark Periwinkle
#665FD1
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F56F6 #CDF656
analogous
#567DF6 #7F56F6 #CF56F6
triadic
#7F56F6 #F67F56 #56F67F
tetradic
#7F56F6 #F6567D #CDF656 #56F6CF
square
#7F56F6 #F6567D #CDF656 #56F6CF
split-complementary
#7F56F6 #F6CF56 #7DF656
monochromatic
#3B0BC7 #531CF3 #7F56F6 #AB90F9 #D7CAFC
Accessibility & contrast
On white
4.60
#7F56F6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7F56F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F56F6
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F56F6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F56F6 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FB
Deuteranopia (green-blind)
#0071F3
Tritanopia (blue-blind)
#577D9F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f56f6; /* rgb */ color: rgb(127, 86, 246); /* oklch */ color: oklch(58.6% 0.226 289.3);
Tailwind
colors: {
custom: {
50: '#ad88fa',
500: '#7f56f6',
950: '#000000',
},
}SCSS
$custom: #7f56f6; $custom-light: #ad88fa; $custom-dark: #000000;
JSON
{
"hex": "#7f56f6",
"rgb": {
"r": 127,
"g": 86,
"b": 246
},
"hsl": {
"h": 255.375,
"s": 89.888,
"l": 65.098
},
"oklch": {
"l": 0.58608,
"c": 0.22628,
"h": 289.3
},
"luminance": 0.17821
}Semantic roles & 50–950 ramp
primary
#7F56F6
secondary
#E1EFB9
accent
#E600AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85