#756CEB#756CEB
#756CEB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.4% C 0.185 H 282.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #756CEB |
|---|---|
| RGB | rgb(117, 108, 235) |
| HSL | hsl(244, 76%, 67%) |
| HSV | hsv(244, 54%, 92%) |
| CMYK | cmyk(50.2%, 54%, 0%, 7.8%) |
| CIE-LAB | lab(52.40, 36.62, -63.34) |
| CIE-LCH | lch(52.40, 73.17, 300.03°) |
| OKLab | oklab(60.45% 0.0402 -0.1809) |
| OKLCH | oklch(60.45% 0.185 282.5) |
| XYZ | xyz(27.6895, 20.5037, 81.0797) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.73
Cornflower
#6A79F7
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 6.10
Mediumpurple
#9370DB
ΔE00 6.68
Light Indigo
#6D5ACF
ΔE00 7.14
Purpley
#8756E4
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756CEB #E2EB6C
analogous
#6CA3EB #756CEB #B56CEB
triadic
#756CEB #EB756C #6CEB75
tetradic
#756CEB #EB6CA3 #E2EB6C #6CEBB5
square
#756CEB #EB6CA3 #E2EB6C #6CEBB5
split-complementary
#756CEB #EBB56C #A3EB6C
monochromatic
#261AC2 #4236E4 #756CEB #A8A2F2 #DAD8FA
Accessibility & contrast
On white
4.12
#756CEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#756CEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756CEB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756CEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756CEB | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#1079E8
Tritanopia (blue-blind)
#4789A1
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #756ceb; /* rgb */ color: rgb(117, 108, 235); /* oklch */ color: oklch(60.4% 0.185 282.5);
Tailwind
colors: {
custom: {
50: '#a596f2',
500: '#756ceb',
950: '#000000',
},
}SCSS
$custom: #756ceb; $custom-light: #a596f2; $custom-dark: #000000;
JSON
{
"hex": "#756ceb",
"rgb": {
"r": 117,
"g": 108,
"b": 235
},
"hsl": {
"h": 244.252,
"s": 76.048,
"l": 67.255
},
"oklch": {
"l": 0.60449,
"c": 0.18536,
"h": 282.5
},
"luminance": 0.20505
}Semantic roles & 50–950 ramp
primary
#756CEB
secondary
#EBEDC5
accent
#D80DCA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85