#756DF2#756DF2
#756DF2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.1% C 0.193 H 281.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #756DF2 |
|---|---|
| RGB | rgb(117, 109, 242) |
| HSL | hsl(244, 84%, 69%) |
| HSV | hsv(244, 55%, 95%) |
| CMYK | cmyk(51.7%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(53.09, 38.14, -66.14) |
| CIE-LCH | lch(53.09, 76.35, 299.97°) |
| OKLab | oklab(61.11% 0.0393 -0.1892) |
| OKLCH | oklch(61.11% 0.193 281.7) |
| XYZ | xyz(28.8269, 21.1283, 86.5464) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.04
Cornflower
#6A79F7
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 6.96
Mediumpurple
#9370DB
ΔE00 7.05
Periwinkle (survey)
#8E82FE
ΔE00 7.13
Cornflower Blue
#5170D7
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756DF2 #EAF26D
analogous
#6DA8F2 #756DF2 #B86DF2
triadic
#756DF2 #F2756D #6DF275
tetradic
#756DF2 #F26DA8 #EAF26D #6DF2B8
square
#756DF2 #F26DA8 #EAF26D #6DF2B8
split-complementary
#756DF2 #F2B86D #A8F26D
monochromatic
#1E13D2 #4035ED #756DF2 #AAA5F7 #DFDDFC
Accessibility & contrast
On white
4.02
#756DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#756DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756DF2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756DF2 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1283F7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#418BA5
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #756df2; /* rgb */ color: rgb(117, 109, 242); /* oklch */ color: oklch(61.1% 0.193 281.7);
Tailwind
colors: {
custom: {
50: '#a597f7',
500: '#756df2',
950: '#000000',
},
}SCSS
$custom: #756df2; $custom-light: #a597f7; $custom-dark: #000000;
JSON
{
"hex": "#756df2",
"rgb": {
"r": 117,
"g": 109,
"b": 242
},
"hsl": {
"h": 243.609,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.61105,
"c": 0.19322,
"h": 281.7
},
"luminance": 0.2113
}Semantic roles & 50–950 ramp
primary
#756DF2
secondary
#EFF1CA
accent
#E005D3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85