#756BE3#756BE3
#756BE3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.176 H 283.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #756BE3 |
|---|---|
| RGB | rgb(117, 107, 227) |
| HSL | hsl(245, 68%, 65%) |
| HSV | hsv(245, 53%, 89%) |
| CMYK | cmyk(48.5%, 52.9%, 0%, 11%) |
| CIE-LAB | lab(51.66, 34.83, -60.05) |
| CIE-LCH | lch(51.66, 69.42, 300.11°) |
| OKLab | oklab(59.73% 0.041 -0.1713) |
| OKLCH | oklch(59.73% 0.176 283.5) |
| XYZ | xyz(26.4548, 19.8420, 75.0941) |
| Luminance | 0.1984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.07
Dark Periwinkle
#665FD1
ΔE00 5.21
Cornflower
#6A79F7
ΔE00 5.92
Light Indigo
#6D5ACF
ΔE00 6.24
Mediumpurple
#9370DB
ΔE00 6.39
Slate Blue
#6A5ACD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756BE3 #D9E36B
analogous
#6B9DE3 #756BE3 #B16BE3
triadic
#756BE3 #E3756B #6BE375
tetradic
#756BE3 #E36B9D #D9E36B #6BE3B1
square
#756BE3 #E36B9D #D9E36B #6BE3B1
split-complementary
#756BE3 #E3B16B #9DE36B
monochromatic
#2E22B2 #4538D9 #756BE3 #A59EED #D5D2F6
Accessibility & contrast
On white
4.23
#756BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#756BE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756BE3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756BE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756BE3 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#2377E0
Tritanopia (blue-blind)
#4D859D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #756be3; /* rgb */ color: rgb(117, 107, 227); /* oklch */ color: oklch(59.7% 0.176 283.5);
Tailwind
colors: {
custom: {
50: '#a495ec',
500: '#756be3',
950: '#000000',
},
}SCSS
$custom: #756be3; $custom-light: #a495ec; $custom-dark: #000000;
JSON
{
"hex": "#756be3",
"rgb": {
"r": 117,
"g": 107,
"b": 227
},
"hsl": {
"h": 245,
"s": 68.182,
"l": 65.49
},
"oklch": {
"l": 0.59732,
"c": 0.1761,
"h": 283.5
},
"luminance": 0.19843
}Semantic roles & 50–950 ramp
primary
#756BE3
secondary
#E6E9C1
accent
#D015C1
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84