#756CE1#756CE1
#756CE1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.8% C 0.172 H 283.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #756CE1 |
|---|---|
| RGB | rgb(117, 108, 225) |
| HSL | hsl(245, 66%, 65%) |
| HSV | hsv(245, 52%, 88%) |
| CMYK | cmyk(48%, 52%, 0%, 11.8%) |
| CIE-LAB | lab(51.77, 33.64, -58.74) |
| CIE-LCH | lch(51.77, 67.69, 299.80°) |
| OKLab | oklab(59.78% 0.0398 -0.1674) |
| OKLCH | oklch(59.78% 0.172 283.4) |
| XYZ | xyz(26.2852, 19.9420, 73.6837) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.43
Dark Periwinkle
#665FD1
ΔE00 5.30
Cornflower
#6A79F7
ΔE00 5.81
Mediumpurple
#9370DB
ΔE00 6.31
Light Indigo
#6D5ACF
ΔE00 6.39
Slate Blue
#6A5ACD
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756CE1 #D8E16C
analogous
#6C9EE1 #756CE1 #AF6CE1
triadic
#756CE1 #E1756C #6CE175
tetradic
#756CE1 #E16C9E #D8E16C #6CE1AF
square
#756CE1 #E16C9E #D8E16C #6CE1AF
split-complementary
#756CE1 #E1AF6C #9EE16C
monochromatic
#2E24AF #4539D7 #756CE1 #A59FEB #D4D2F6
Accessibility & contrast
On white
4.21
#756CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#756CE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756CE1
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756CE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756CE1 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#2A78DE
Tritanopia (blue-blind)
#4F869C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #756ce1; /* rgb */ color: rgb(117, 108, 225); /* oklch */ color: oklch(59.8% 0.172 283.4);
Tailwind
colors: {
custom: {
50: '#a396eb',
500: '#756ce1',
950: '#000000',
},
}SCSS
$custom: #756ce1; $custom-light: #a396eb; $custom-dark: #000000;
JSON
{
"hex": "#756ce1",
"rgb": {
"r": 117,
"g": 108,
"b": 225
},
"hsl": {
"h": 244.615,
"s": 66.102,
"l": 65.294
},
"oklch": {
"l": 0.59777,
"c": 0.17207,
"h": 283.4
},
"luminance": 0.19943
}Semantic roles & 50–950 ramp
primary
#756CE1
secondary
#E5E8C1
accent
#CE18C0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84