#756BF2#756BF2
#756BF2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.8% C 0.196 H 282.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #756BF2 |
|---|---|
| RGB | rgb(117, 107, 242) |
| HSL | hsl(244, 84%, 68%) |
| HSV | hsv(244, 56%, 95%) |
| CMYK | cmyk(51.7%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(52.63, 39.31, -66.89) |
| CIE-LCH | lch(52.63, 77.59, 300.44°) |
| OKLab | oklab(60.76% 0.0414 -0.1914) |
| OKLCH | oklch(60.76% 0.196 282.2) |
| XYZ | xyz(28.6159, 20.7065, 86.4761) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.57
Cornflower
#6A79F7
ΔE00 5.16
Dark Periwinkle
#665FD1
ΔE00 6.58
Mediumpurple
#9370DB
ΔE00 7.06
Purpley
#8756E4
ΔE00 7.25
Light Indigo
#6D5ACF
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756BF2 #E8F26B
analogous
#6BA4F2 #756BF2 #B86BF2
triadic
#756BF2 #F2756B #6BF275
tetradic
#756BF2 #F26BA4 #E8F26B #6BF2B8
square
#756BF2 #F26BA4 #E8F26B #6BF2B8
split-complementary
#756BF2 #F2B86B #A4F26B
monochromatic
#2012D0 #4133ED #756BF2 #A9A3F7 #DEDCFC
Accessibility & contrast
On white
4.08
#756BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#756BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756BF2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756BF2 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#418AA4
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #756bf2; /* rgb */ color: rgb(117, 107, 242); /* oklch */ color: oklch(60.8% 0.196 282.2);
Tailwind
colors: {
custom: {
50: '#a695f7',
500: '#756bf2',
950: '#000000',
},
}SCSS
$custom: #756bf2; $custom-light: #a695f7; $custom-dark: #000000;
JSON
{
"hex": "#756bf2",
"rgb": {
"r": 117,
"g": 107,
"b": 242
},
"hsl": {
"h": 244.444,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.60761,
"c": 0.19582,
"h": 282.2
},
"luminance": 0.20708
}Semantic roles & 50–950 ramp
primary
#756BF2
secondary
#EEF1C8
accent
#E005D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85