#756AF2#756AF2
#756AF2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.6% C 0.197 H 282.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #756AF2 |
|---|---|
| RGB | rgb(117, 106, 242) |
| HSL | hsl(245, 84%, 68%) |
| HSV | hsv(245, 56%, 95%) |
| CMYK | cmyk(51.7%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(52.40, 39.89, -67.26) |
| CIE-LCH | lch(52.40, 78.21, 300.67°) |
| OKLab | oklab(60.59% 0.0424 -0.1925) |
| OKLCH | oklch(60.59% 0.197 282.4) |
| XYZ | xyz(28.5123, 20.4992, 86.4415) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.38
Cornflower
#6A79F7
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 6.40
Purpley
#8756E4
ΔE00 6.98
Mediumpurple
#9370DB
ΔE00 7.08
Light Indigo
#6D5ACF
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756AF2 #E7F26A
analogous
#6AA3F2 #756AF2 #B96AF2
triadic
#756AF2 #F2756A #6AF275
tetradic
#756AF2 #F26AA3 #E7F26A #6AF2B9
square
#756AF2 #F26AA3 #E7F26A #6AF2B9
split-complementary
#756AF2 #F2B96A #A3F26A
monochromatic
#2112CF #4132ED #756AF2 #A9A2F7 #DDDBFC
Accessibility & contrast
On white
4.12
#756AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#756AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756AF2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756AF2 | 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)
#0082F7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#4189A4
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #756af2; /* rgb */ color: rgb(117, 106, 242); /* oklch */ color: oklch(60.6% 0.197 282.4);
Tailwind
colors: {
custom: {
50: '#a695f7',
500: '#756af2',
950: '#000000',
},
}SCSS
$custom: #756af2; $custom-light: #a695f7; $custom-dark: #000000;
JSON
{
"hex": "#756af2",
"rgb": {
"r": 117,
"g": 106,
"b": 242
},
"hsl": {
"h": 244.853,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.60591,
"c": 0.19711,
"h": 282.4
},
"luminance": 0.20501
}Semantic roles & 50–950 ramp
primary
#756AF2
secondary
#EDF1C7
accent
#E005CF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85