#7656F1#7656F1
#7656F1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.4% C 0.221 H 286.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7656F1 |
|---|---|
| RGB | rgb(118, 86, 241) |
| HSL | hsl(252, 85%, 64%) |
| HSV | hsv(252, 64%, 95%) |
| CMYK | cmyk(51%, 64.3%, 0%, 5.5%) |
| CIE-LAB | lab(48.08, 51.14, -73.71) |
| CIE-LCH | lch(48.08, 89.72, 304.75°) |
| OKLab | oklab(57.43% 0.0635 -0.2115) |
| OKLCH | oklch(57.43% 0.221 286.7) |
| XYZ | xyz(26.6715, 16.8567, 85.0503) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 4.92
Mediumslateblue
#7B68EE
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 5.65
Purpleish Blue
#6140EF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656F1 #D1F156
analogous
#5684F1 #7656F1 #C456F1
triadic
#7656F1 #F17656 #56F176
tetradic
#7656F1 #F15684 #D1F156 #56F1C4
square
#7656F1 #F15684 #D1F156 #56F1C4
split-complementary
#7656F1 #F1C456 #84F156
monochromatic
#3310BD #481DEC #7656F1 #A48FF6 #D2C7FA
Accessibility & contrast
On white
4.80
#7656F1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#7656F1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656F1
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656F1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656F1 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#006EEE
Tritanopia (blue-blind)
#477C9C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7656f1; /* rgb */ color: rgb(118, 86, 241); /* oklch */ color: oklch(57.4% 0.221 286.7);
Tailwind
colors: {
custom: {
50: '#a787f7',
500: '#7656f1',
950: '#000000',
},
}SCSS
$custom: #7656f1; $custom-light: #a787f7; $custom-dark: #000000;
JSON
{
"hex": "#7656f1",
"rgb": {
"r": 118,
"g": 86,
"b": 241
},
"hsl": {
"h": 252.387,
"s": 84.699,
"l": 64.118
},
"oklch": {
"l": 0.57428,
"c": 0.2208,
"h": 286.7
},
"luminance": 0.16858
}Semantic roles & 50–950 ramp
primary
#7656F1
secondary
#E1ECB6
accent
#E104B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85