#756CD8#756CD8
#756CD8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.2% C 0.160 H 284.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #756CD8 |
|---|---|
| RGB | rgb(117, 108, 216) |
| HSL | hsl(245, 58%, 64%) |
| HSV | hsv(245, 50%, 85%) |
| CMYK | cmyk(45.8%, 50%, 0%, 15.3%) |
| CIE-LAB | lab(51.23, 30.98, -54.53) |
| CIE-LCH | lch(51.23, 62.72, 299.60°) |
| OKLab | oklab(59.19% 0.0391 -0.155) |
| OKLCH | oklch(59.19% 0.16 284.2) |
| XYZ | xyz(25.0897, 19.4638, 67.3873) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.50
Dark Periwinkle
#665FD1
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 6.13
Mediumpurple
#9370DB
ΔE00 6.18
Cornflower
#6A79F7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756CD8 #CFD86C
analogous
#6C99D8 #756CD8 #AB6CD8
triadic
#756CD8 #D8756C #6CD875
tetradic
#756CD8 #D86C99 #CFD86C #6CD8AB
square
#756CD8 #D86C99 #CFD86C #6CD8AB
split-complementary
#756CD8 #D8AB6C #99D86C
monochromatic
#342A9F #483CCB #756CD8 #A29CE5 #D0CDF2
Accessibility & contrast
On white
4.29
#756CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#756CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756CD8
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756CD8 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#548398
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #756cd8; /* rgb */ color: rgb(117, 108, 216); /* oklch */ color: oklch(59.2% 0.160 284.2);
Tailwind
colors: {
custom: {
50: '#a296e5',
500: '#756cd8',
950: '#000000',
},
}SCSS
$custom: #756cd8; $custom-light: #a296e5; $custom-dark: #000000;
JSON
{
"hex": "#756cd8",
"rgb": {
"r": 117,
"g": 108,
"b": 216
},
"hsl": {
"h": 245,
"s": 58.065,
"l": 63.529
},
"oklch": {
"l": 0.59192,
"c": 0.15991,
"h": 284.2
},
"luminance": 0.19465
}Semantic roles & 50–950 ramp
primary
#756CD8
secondary
#E0E3BD
accent
#C620B8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#0F0D16
muted
#7F7E84