#7656DC#7656DC
#7656DC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.195 H 289.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7656DC |
|---|---|
| RGB | rgb(118, 86, 220) |
| HSL | hsl(254, 66%, 60%) |
| HSV | hsv(254, 61%, 86%) |
| CMYK | cmyk(46.4%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(46.54, 45.18, -64.35) |
| CIE-LCH | lch(46.54, 78.63, 305.08°) |
| OKLab | oklab(55.83% 0.0653 -0.1839) |
| OKLCH | oklch(55.83% 0.195 289.5) |
| XYZ | xyz(23.7136, 15.6735, 69.4721) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.65
Purpley
#8756E4
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 3.20
Dark Periwinkle
#665FD1
ΔE00 4.31
Iris
#6258C4
ΔE00 4.97
Mediumslateblue
#7B68EE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656DC #BCDC56
analogous
#5679DC #7656DC #B956DC
triadic
#7656DC #DC7656 #56DC76
tetradic
#7656DC #DC5679 #BCDC56 #56DCB9
square
#7656DC #DC5679 #BCDC56 #56DCB9
split-complementary
#7656DC #DCB956 #79DC56
monochromatic
#3C2098 #502ACB #7656DC #9F89E6 #C8BBF1
Accessibility & contrast
On white
5.08
#7656DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7656DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656DC
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656DC | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006BD9
Tritanopia (blue-blind)
#567591
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7656dc; /* rgb */ color: rgb(118, 86, 220); /* oklch */ color: oklch(55.8% 0.195 289.5);
Tailwind
colors: {
custom: {
50: '#a587e8',
500: '#7656dc',
950: '#000000',
},
}SCSS
$custom: #7656dc; $custom-light: #a587e8; $custom-dark: #000000;
JSON
{
"hex": "#7656dc",
"rgb": {
"r": 118,
"g": 86,
"b": 220
},
"hsl": {
"h": 254.328,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.5583,
"c": 0.19519,
"h": 289.5
},
"luminance": 0.15674
}Semantic roles & 50–950 ramp
primary
#7656DC
secondary
#D4E1AD
accent
#E93FC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84