#7656F2#7656F2
#7656F2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.222 H 286.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7656F2 |
|---|---|
| RGB | rgb(118, 86, 242) |
| HSL | hsl(252, 86%, 64%) |
| HSV | hsv(252, 64%, 95%) |
| CMYK | cmyk(51.2%, 64.5%, 0%, 5.1%) |
| CIE-LAB | lab(48.15, 51.43, -74.15) |
| CIE-LCH | lch(48.15, 90.24, 304.75°) |
| OKLab | oklab(57.51% 0.0634 -0.2128) |
| OKLCH | oklch(57.51% 0.222 286.6) |
| XYZ | xyz(26.8213, 16.9166, 85.8391) |
| Luminance | 0.1692 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.45
Mediumslateblue
#7B68EE
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 5.73
Purpleish Blue
#6140EF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656F2 #D2F256
analogous
#5684F2 #7656F2 #C456F2
triadic
#7656F2 #F27656 #56F276
tetradic
#7656F2 #F25684 #D2F256 #56F2C4
square
#7656F2 #F25684 #D2F256 #56F2C4
split-complementary
#7656F2 #F2C456 #84F256
monochromatic
#330FBF #481DEE #7656F2 #A48FF6 #D2C8FB
Accessibility & contrast
On white
4.79
#7656F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#7656F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656F2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656F2 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#467D9D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7656f2; /* rgb */ color: rgb(118, 86, 242); /* oklch */ color: oklch(57.5% 0.222 286.6);
Tailwind
colors: {
custom: {
50: '#a787f7',
500: '#7656f2',
950: '#000000',
},
}SCSS
$custom: #7656f2; $custom-light: #a787f7; $custom-dark: #000000;
JSON
{
"hex": "#7656f2",
"rgb": {
"r": 118,
"g": 86,
"b": 242
},
"hsl": {
"h": 252.308,
"s": 85.714,
"l": 64.314
},
"oklch": {
"l": 0.57506,
"c": 0.22201,
"h": 286.6
},
"luminance": 0.16918
}Semantic roles & 50–950 ramp
primary
#7656F2
secondary
#E2EDB7
accent
#E203B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85