#756CD7#756CD7
#756CD7 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.1% C 0.159 H 284.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #756CD7 |
|---|---|
| RGB | rgb(117, 108, 215) |
| HSL | hsl(245, 57%, 63%) |
| HSV | hsv(245, 50%, 84%) |
| CMYK | cmyk(45.6%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(51.17, 30.68, -54.06) |
| CIE-LCH | lch(51.17, 62.16, 299.58°) |
| OKLab | oklab(59.13% 0.039 -0.1537) |
| OKLCH | oklch(59.13% 0.159 284.3) |
| XYZ | xyz(24.9608, 19.4122, 66.7085) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.63
Dark Periwinkle
#665FD1
ΔE00 4.84
Light Indigo
#6D5ACF
ΔE00 5.91
Slate Blue
#6A5ACD
ΔE00 6.09
Mediumpurple
#9370DB
ΔE00 6.18
Cornflower
#6A79F7
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756CD7 #CED76C
analogous
#6C98D7 #756CD7 #AA6CD7
triadic
#756CD7 #D7756C #6CD775
tetradic
#756CD7 #D76C98 #CED76C #6CD7AA
square
#756CD7 #D76C98 #CED76C #6CD7AA
split-complementary
#756CD7 #D7AA6C #98D76C
monochromatic
#352B9E #483CCA #756CD7 #A29CE4 #CFCCF1
Accessibility & contrast
On white
4.30
#756CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#756CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756CD7
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756CD7 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#558397
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #756cd7; /* rgb */ color: rgb(117, 108, 215); /* oklch */ color: oklch(59.1% 0.159 284.3);
Tailwind
colors: {
custom: {
50: '#a296e4',
500: '#756cd7',
950: '#000000',
},
}SCSS
$custom: #756cd7; $custom-light: #a296e4; $custom-dark: #000000;
JSON
{
"hex": "#756cd7",
"rgb": {
"r": 117,
"g": 108,
"b": 215
},
"hsl": {
"h": 245.047,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.59129,
"c": 0.15855,
"h": 284.3
},
"luminance": 0.19413
}Semantic roles & 50–950 ramp
primary
#756CD7
secondary
#DFE2BC
accent
#C521B7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0D16
muted
#7F7E84