#756CD9#756CD9
#756CD9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.161 H 284.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #756CD9 |
|---|---|
| RGB | rgb(117, 108, 217) |
| HSL | hsl(245, 59%, 64%) |
| HSV | hsv(245, 50%, 85%) |
| CMYK | cmyk(46.1%, 50.2%, 0%, 14.9%) |
| CIE-LAB | lab(51.29, 31.27, -55.00) |
| CIE-LCH | lch(51.29, 63.27, 299.62°) |
| OKLab | oklab(59.26% 0.0392 -0.1564) |
| OKLCH | oklch(59.26% 0.161 284.1) |
| XYZ | xyz(25.2194, 19.5156, 68.0702) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.37
Dark Periwinkle
#665FD1
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.17
Mediumpurple
#9370DB
ΔE00 6.18
Cornflower
#6A79F7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756CD9 #D0D96C
analogous
#6C99D9 #756CD9 #AB6CD9
triadic
#756CD9 #D9756C #6CD975
tetradic
#756CD9 #D96C99 #D0D96C #6CD9AB
square
#756CD9 #D96C99 #D0D96C #6CD9AB
split-complementary
#756CD9 #D9AB6C #99D96C
monochromatic
#332AA1 #473BCC #756CD9 #A39DE6 #D0CDF2
Accessibility & contrast
On white
4.28
#756CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#756CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756CD9
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756CD9 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A7EDD
Deuteranopia (green-blind)
#3577D7
Tritanopia (blue-blind)
#548398
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #756cd9; /* rgb */ color: rgb(117, 108, 217); /* oklch */ color: oklch(59.3% 0.161 284.1);
Tailwind
colors: {
custom: {
50: '#a296e5',
500: '#756cd9',
950: '#000000',
},
}SCSS
$custom: #756cd9; $custom-light: #a296e5; $custom-dark: #000000;
JSON
{
"hex": "#756cd9",
"rgb": {
"r": 117,
"g": 108,
"b": 217
},
"hsl": {
"h": 244.954,
"s": 58.919,
"l": 63.725
},
"oklch": {
"l": 0.59256,
"c": 0.16127,
"h": 284.1
},
"luminance": 0.19517
}Semantic roles & 50–950 ramp
primary
#756CD9
secondary
#E0E4BD
accent
#C71FB9
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84