#756FEE#756FEE
#756FEE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.2% C 0.185 H 281.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #756FEE |
|---|---|
| RGB | rgb(117, 111, 238) |
| HSL | hsl(243, 79%, 68%) |
| HSV | hsv(243, 53%, 93%) |
| CMYK | cmyk(50.8%, 53.4%, 0%, 6.7%) |
| CIE-LAB | lab(53.30, 35.75, -63.57) |
| CIE-LCH | lch(53.30, 72.94, 299.35°) |
| OKLab | oklab(61.18% 0.0371 -0.1816) |
| OKLCH | oklch(61.18% 0.185 281.5) |
| XYZ | xyz(28.4485, 21.3222, 83.4889) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.50
Cornflower
#6A79F7
ΔE00 4.20
Periwinkle (survey)
#8E82FE
ΔE00 6.84
Mediumpurple
#9370DB
ΔE00 6.88
Dark Periwinkle
#665FD1
ΔE00 7.02
Cornflower Blue
#5170D7
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756FEE #E8EE6F
analogous
#6FA8EE #756FEE #B46FEE
triadic
#756FEE #EE756F #6FEE75
tetradic
#756FEE #EE6FA8 #E8EE6F #6FEEB4
square
#756FEE #EE6FA8 #E8EE6F #6FEEB4
split-complementary
#756FEE #EEB46F #A8EE6F
monochromatic
#2018CB #4138E8 #756FEE #A9A6F4 #DEDCFB
Accessibility & contrast
On white
3.99
#756FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#756FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756FEE
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756FEE | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#147BEB
Tritanopia (blue-blind)
#448CA4
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #756fee; /* rgb */ color: rgb(117, 111, 238); /* oklch */ color: oklch(61.2% 0.185 281.5);
Tailwind
colors: {
custom: {
50: '#a598f4',
500: '#756fee',
950: '#000000',
},
}SCSS
$custom: #756fee; $custom-light: #a598f4; $custom-dark: #000000;
JSON
{
"hex": "#756fee",
"rgb": {
"r": 117,
"g": 111,
"b": 238
},
"hsl": {
"h": 242.835,
"s": 78.882,
"l": 68.431
},
"oklch": {
"l": 0.61179,
"c": 0.18536,
"h": 281.5
},
"luminance": 0.21324
}Semantic roles & 50–950 ramp
primary
#756FEE
secondary
#EEF0C9
accent
#DB0AD1
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85