#756BE7#756BE7
#756BE7 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 60.0% C 0.181 H 283.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #756BE7 |
|---|---|
| RGB | rgb(117, 107, 231) |
| HSL | hsl(245, 72%, 66%) |
| HSV | hsv(245, 54%, 91%) |
| CMYK | cmyk(49.4%, 53.7%, 0%, 9.4%) |
| CIE-LAB | lab(51.91, 36.02, -61.89) |
| CIE-LCH | lch(51.91, 71.61, 300.20°) |
| OKLab | oklab(60% 0.0412 -0.1767) |
| OKLCH | oklch(60% 0.181 283.1) |
| XYZ | xyz(27.0133, 20.0654, 78.0354) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.72
Dark Periwinkle
#665FD1
ΔE00 5.53
Cornflower
#6A79F7
ΔE00 5.65
Mediumpurple
#9370DB
ΔE00 6.53
Light Indigo
#6D5ACF
ΔE00 6.55
Slate Blue
#6A5ACD
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756BE7 #DDE76B
analogous
#6B9FE7 #756BE7 #B36BE7
triadic
#756BE7 #E7756B #6BE775
tetradic
#756BE7 #E76B9F #DDE76B #6BE7B3
square
#756BE7 #E76B9F #DDE76B #6BE7B3
split-complementary
#756BE7 #E7B36B #9FE76B
monochromatic
#2B1EBA #4436DE #756BE7 #A6A0F0 #D7D4F8
Accessibility & contrast
On white
4.19
#756BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#756BE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756BE7
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756BE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756BE7 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#1978E4
Tritanopia (blue-blind)
#4A879F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #756be7; /* rgb */ color: rgb(117, 107, 231); /* oklch */ color: oklch(60.0% 0.181 283.1);
Tailwind
colors: {
custom: {
50: '#a495ef',
500: '#756be7',
950: '#000000',
},
}SCSS
$custom: #756be7; $custom-light: #a495ef; $custom-dark: #000000;
JSON
{
"hex": "#756be7",
"rgb": {
"r": 117,
"g": 107,
"b": 231
},
"hsl": {
"h": 244.839,
"s": 72.093,
"l": 66.275
},
"oklch": {
"l": 0.60002,
"c": 0.18142,
"h": 283.1
},
"luminance": 0.20067
}Semantic roles & 50–950 ramp
primary
#756BE7
secondary
#E8EBC3
accent
#D411C4
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85