#756FEF#756FEF
#756FEF is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.187 H 281.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #756FEF |
|---|---|
| RGB | rgb(117, 111, 239) |
| HSL | hsl(243, 80%, 69%) |
| HSV | hsv(243, 54%, 94%) |
| CMYK | cmyk(51%, 53.6%, 0%, 6.3%) |
| CIE-LAB | lab(53.36, 36.05, -64.03) |
| CIE-LCH | lch(53.36, 73.48, 299.38°) |
| OKLab | oklab(61.25% 0.0371 -0.1829) |
| OKLCH | oklch(61.25% 0.187 281.5) |
| XYZ | xyz(28.5958, 21.3812, 84.2648) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.51
Cornflower
#6A79F7
ΔE00 4.15
Periwinkle (survey)
#8E82FE
ΔE00 6.80
Mediumpurple
#9370DB
ΔE00 6.93
Dark Periwinkle
#665FD1
ΔE00 7.11
Cornflower Blue
#5170D7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756FEF #E9EF6F
analogous
#6FA9EF #756FEF #B56FEF
triadic
#756FEF #EF756F #6FEF75
tetradic
#756FEF #EF6FA9 #E9EF6F #6FEFB5
square
#756FEF #EF6FA9 #E9EF6F #6FEFB5
split-complementary
#756FEF #EFB56F #A9EF6F
monochromatic
#1F17CD #4038E9 #756FEF #AAA6F5 #DFDDFB
Accessibility & contrast
On white
3.98
#756FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#756FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756FEF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756FEF | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#107BEC
Tritanopia (blue-blind)
#438CA4
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #756fef; /* rgb */ color: rgb(117, 111, 239); /* oklch */ color: oklch(61.2% 0.187 281.5);
Tailwind
colors: {
custom: {
50: '#a598f5',
500: '#756fef',
950: '#000000',
},
}SCSS
$custom: #756fef; $custom-light: #a598f5; $custom-dark: #000000;
JSON
{
"hex": "#756fef",
"rgb": {
"r": 117,
"g": 111,
"b": 239
},
"hsl": {
"h": 242.813,
"s": 80,
"l": 68.627
},
"oklch": {
"l": 0.61247,
"c": 0.18668,
"h": 281.5
},
"luminance": 0.21383
}Semantic roles & 50–950 ramp
primary
#756FEF
secondary
#EEF0CA
accent
#DC09D2
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85