#7656BF#7656BF
#7656BF is a mid, vivid violet. Relative luminance 0.143; OKLCH L 53.8% C 0.158 H 294.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7656BF |
|---|---|
| RGB | rgb(118, 86, 191) |
| HSL | hsl(258, 45%, 54%) |
| HSV | hsv(258, 55%, 75%) |
| CMYK | cmyk(38.2%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(44.62, 37.11, -50.78) |
| CIE-LCH | lch(44.62, 62.90, 306.16°) |
| OKLab | oklab(53.8% 0.0658 -0.1441) |
| OKLCH | oklch(53.8% 0.158 294.5) |
| XYZ | xyz(20.2005, 14.2683, 50.9699) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.59
Slate Blue
#6A5ACD
ΔE00 3.78
Royal Purple
#7851A9
ΔE00 4.30
Iris
#6258C4
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 5.50
Purpley
#8756E4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7656BF #9FBF56
analogous
#566BBF #7656BF #AB56BF
triadic
#7656BF #BF7656 #56BF76
tetradic
#7656BF #BF566B #9FBF56 #56BFAB
square
#7656BF #BF566B #9FBF56 #56BFAB
split-complementary
#7656BF #BFAB56 #6BBF56
monochromatic
#402A70 #593B9D #7656BF #9A82D0 #BEAFE1
Accessibility & contrast
On white
5.45
#7656BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7656BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7656BF
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7656BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7656BF | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256BC3
Deuteranopia (green-blind)
#2E68BD
Tritanopia (blue-blind)
#646C82
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7656bf; /* rgb */ color: rgb(118, 86, 191); /* oklch */ color: oklch(53.8% 0.158 294.5);
Tailwind
colors: {
custom: {
50: '#a286d3',
500: '#7656bf',
950: '#000000',
},
}SCSS
$custom: #7656bf; $custom-light: #a286d3; $custom-dark: #000000;
JSON
{
"hex": "#7656bf",
"rgb": {
"r": 118,
"g": 86,
"b": 191
},
"hsl": {
"h": 258.286,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.538,
"c": 0.15837,
"h": 294.5
},
"luminance": 0.14269
}Semantic roles & 50–950 ramp
primary
#7656BF
secondary
#C1CFA2
accent
#D553AD
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83