#756BE2#756BE2
#756BE2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.175 H 283.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #756BE2 |
|---|---|
| RGB | rgb(117, 107, 226) |
| HSL | hsl(245, 67%, 65%) |
| HSV | hsv(245, 53%, 89%) |
| CMYK | cmyk(48.2%, 52.7%, 0%, 11.4%) |
| CIE-LAB | lab(51.60, 34.53, -59.59) |
| CIE-LCH | lch(51.60, 68.87, 300.09°) |
| OKLab | oklab(59.67% 0.0409 -0.1699) |
| OKLCH | oklch(59.67% 0.175 283.5) |
| XYZ | xyz(26.3172, 19.7870, 74.3693) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.17
Dark Periwinkle
#665FD1
ΔE00 5.13
Cornflower
#6A79F7
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.17
Mediumpurple
#9370DB
ΔE00 6.36
Slate Blue
#6A5ACD
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756BE2 #D8E26B
analogous
#6B9CE2 #756BE2 #B06BE2
triadic
#756BE2 #E2756B #6BE275
tetradic
#756BE2 #E26B9C #D8E26B #6BE2B0
square
#756BE2 #E26B9C #D8E26B #6BE2B0
split-complementary
#756BE2 #E2B06B #9CE26B
monochromatic
#2E23B0 #4538D8 #756BE2 #A59EEC #D4D1F6
Accessibility & contrast
On white
4.24
#756BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#756BE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756BE2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756BE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756BE2 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D7FE6
Deuteranopia (green-blind)
#2577DF
Tritanopia (blue-blind)
#4E859C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #756be2; /* rgb */ color: rgb(117, 107, 226); /* oklch */ color: oklch(59.7% 0.175 283.5);
Tailwind
colors: {
custom: {
50: '#a495ec',
500: '#756be2',
950: '#000000',
},
}SCSS
$custom: #756be2; $custom-light: #a495ec; $custom-dark: #000000;
JSON
{
"hex": "#756be2",
"rgb": {
"r": 117,
"g": 107,
"b": 226
},
"hsl": {
"h": 245.042,
"s": 67.232,
"l": 65.294
},
"oklch": {
"l": 0.59665,
"c": 0.17477,
"h": 283.5
},
"luminance": 0.19788
}Semantic roles & 50–950 ramp
primary
#756BE2
secondary
#E5E8C0
accent
#CF16C0
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84