#756CE2#756CE2
#756CE2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.8% C 0.173 H 283.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #756CE2 |
|---|---|
| RGB | rgb(117, 108, 226) |
| HSL | hsl(245, 67%, 65%) |
| HSV | hsv(245, 52%, 89%) |
| CMYK | cmyk(48.2%, 52.2%, 0%, 11.4%) |
| CIE-LAB | lab(51.83, 33.94, -59.21) |
| CIE-LCH | lch(51.83, 68.24, 299.82°) |
| OKLab | oklab(59.84% 0.0398 -0.1688) |
| OKLCH | oklch(59.84% 0.173 283.3) |
| XYZ | xyz(26.4220, 19.9967, 74.4043) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.33
Dark Periwinkle
#665FD1
ΔE00 5.37
Cornflower
#6A79F7
ΔE00 5.74
Mediumpurple
#9370DB
ΔE00 6.33
Light Indigo
#6D5ACF
ΔE00 6.45
Slate Blue
#6A5ACD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756CE2 #D9E26C
analogous
#6C9EE2 #756CE2 #B06CE2
triadic
#756CE2 #E2756C #6CE275
tetradic
#756CE2 #E26C9E #D9E26C #6CE2B0
square
#756CE2 #E26C9E #D9E26C #6CE2B0
split-complementary
#756CE2 #E2B06C #9EE26C
monochromatic
#2E23B1 #4539D8 #756CE2 #A59FEC #D5D2F6
Accessibility & contrast
On white
4.20
#756CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#756CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756CE2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756CE2 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#307FE6
Deuteranopia (green-blind)
#2878DF
Tritanopia (blue-blind)
#4E869D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #756ce2; /* rgb */ color: rgb(117, 108, 226); /* oklch */ color: oklch(59.8% 0.173 283.3);
Tailwind
colors: {
custom: {
50: '#a396ec',
500: '#756ce2',
950: '#000000',
},
}SCSS
$custom: #756ce2; $custom-light: #a396ec; $custom-dark: #000000;
JSON
{
"hex": "#756ce2",
"rgb": {
"r": 117,
"g": 108,
"b": 226
},
"hsl": {
"h": 244.576,
"s": 67.045,
"l": 65.49
},
"oklch": {
"l": 0.59843,
"c": 0.17341,
"h": 283.3
},
"luminance": 0.19998
}Semantic roles & 50–950 ramp
primary
#756CE2
secondary
#E6E9C1
accent
#CF17C1
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84