#7656F3#7656F3
#7656F3 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.223 H 286.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7656F3 |
|---|---|
| RGB | rgb(118, 86, 243) |
| HSL | hsl(252, 87%, 65%) |
| HSV | hsv(252, 65%, 95%) |
| CMYK | cmyk(51.4%, 64.6%, 0%, 4.7%) |
| CIE-LAB | lab(48.23, 51.71, -74.58) |
| CIE-LCH | lch(48.23, 90.76, 304.74°) |
| OKLab | oklab(57.58% 0.0633 -0.214) |
| OKLCH | oklch(57.58% 0.223 286.5) |
| XYZ | xyz(26.9719, 16.9768, 86.6323) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.52
Mediumslateblue
#7B68EE
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.15
Slate Blue
#6A5ACD
ΔE00 5.60
Dark Periwinkle
#665FD1
ΔE00 5.82
Purpleish Blue
#6140EF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656F3 #D3F356
analogous
#5685F3 #7656F3 #C456F3
triadic
#7656F3 #F37656 #56F376
tetradic
#7656F3 #F35685 #D3F356 #56F3C4
square
#7656F3 #F35685 #D3F356 #56F3C4
split-complementary
#7656F3 #F3C456 #85F356
monochromatic
#320EC1 #481DEF #7656F3 #A48FF7 #D3C8FB
Accessibility & contrast
On white
4.78
#7656F3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7656F3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656F3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656F3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656F3 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#457D9D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7656f3; /* rgb */ color: rgb(118, 86, 243); /* oklch */ color: oklch(57.6% 0.223 286.5);
Tailwind
colors: {
custom: {
50: '#a787f8',
500: '#7656f3',
950: '#000000',
},
}SCSS
$custom: #7656f3; $custom-light: #a787f8; $custom-dark: #000000;
JSON
{
"hex": "#7656f3",
"rgb": {
"r": 118,
"g": 86,
"b": 243
},
"hsl": {
"h": 252.229,
"s": 86.74,
"l": 64.51
},
"oklch": {
"l": 0.57585,
"c": 0.2232,
"h": 286.5
},
"luminance": 0.16978
}Semantic roles & 50–950 ramp
primary
#7656F3
secondary
#E2EDB7
accent
#E302B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85