#7F56E9#7F56E9
#7F56E9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.6% C 0.211 H 291.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7F56E9 |
|---|---|
| RGB | rgb(127, 86, 233) |
| HSL | hsl(257, 77%, 63%) |
| HSV | hsv(257, 63%, 91%) |
| CMYK | cmyk(45.5%, 63.1%, 0%, 8.6%) |
| CIE-LAB | lab(48.32, 50.55, -68.78) |
| CIE-LCH | lch(48.32, 85.36, 306.31°) |
| OKLab | oklab(57.62% 0.0761 -0.1967) |
| OKLCH | oklch(57.62% 0.211 291.2) |
| XYZ | xyz(26.7840, 17.0499, 78.9547) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.61
Light Indigo
#6D5ACF
ΔE00 4.81
Mediumslateblue
#7B68EE
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 6.03
Bluish Purple
#703BE7
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F56E9 #C0E956
analogous
#5676E9 #7F56E9 #C956E9
triadic
#7F56E9 #E97F56 #56E97F
tetradic
#7F56E9 #E95676 #C0E956 #56E9C9
square
#7F56E9 #E95676 #C0E956 #56E9C9
split-complementary
#7F56E9 #E9C956 #76E956
monochromatic
#4117AE #5620E2 #7F56E9 #A88CF0 #D1C2F7
Accessibility & contrast
On white
4.76
#7F56E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#7F56E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F56E9
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F56E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F56E9 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#5F7998
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f56e9; /* rgb */ color: rgb(127, 86, 233); /* oklch */ color: oklch(57.6% 0.211 291.2);
Tailwind
colors: {
custom: {
50: '#ac88f1',
500: '#7f56e9',
950: '#000000',
},
}SCSS
$custom: #7f56e9; $custom-light: #ac88f1; $custom-dark: #000000;
JSON
{
"hex": "#7f56e9",
"rgb": {
"r": 127,
"g": 86,
"b": 233
},
"hsl": {
"h": 256.735,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.57619,
"c": 0.21093,
"h": 291.2
},
"luminance": 0.17051
}Semantic roles & 50–950 ramp
primary
#7F56E9
secondary
#D9E8B3
accent
#D90CA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B17
muted
#807C85