#756BFB#756BFB
#756BFB is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.4% C 0.207 H 281.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #756BFB |
|---|---|
| RGB | rgb(117, 107, 251) |
| HSL | hsl(244, 95%, 70%) |
| HSV | hsv(244, 57%, 98%) |
| CMYK | cmyk(53.4%, 57.4%, 0%, 1.6%) |
| CIE-LAB | lab(53.23, 42.02, -70.91) |
| CIE-LCH | lch(53.23, 82.43, 300.65°) |
| OKLab | oklab(61.4% 0.0414 -0.2032) |
| OKLCH | oklch(61.4% 0.207 281.5) |
| XYZ | xyz(30.0010, 21.2605, 93.7709) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.26
Cornflower
#6A79F7
ΔE00 5.03
Periwinkle (survey)
#8E82FE
ΔE00 7.34
Dark Periwinkle
#665FD1
ΔE00 7.53
Mediumpurple
#9370DB
ΔE00 7.61
Purpley
#8756E4
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#756BFB #F1FB6B
analogous
#6BA9FB #756BFB #BD6BFB
triadic
#756BFB #FB756B #6BFB75
tetradic
#756BFB #FB6BA9 #F1FB6B #6BFBBD
square
#756BFB #FB6BA9 #F1FB6B #6BFBBD
split-complementary
#756BFB #FBBD6B #A9FB6B
monochromatic
#1606E5 #3D2FF9 #756BFB #ADA7FD #E3E1FE
Accessibility & contrast
On white
4.00
#756BFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#756BFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #756BFB
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##756BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##756BFB | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#007AF8
Tritanopia (blue-blind)
#388DA9
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #756bfb; /* rgb */ color: rgb(117, 107, 251); /* oklch */ color: oklch(61.4% 0.207 281.5);
Tailwind
colors: {
custom: {
50: '#a796fe',
500: '#756bfb',
950: '#000000',
},
}SCSS
$custom: #756bfb; $custom-light: #a796fe; $custom-dark: #000000;
JSON
{
"hex": "#756bfb",
"rgb": {
"r": 117,
"g": 107,
"b": 251
},
"hsl": {
"h": 244.167,
"s": 94.737,
"l": 70.196
},
"oklch": {
"l": 0.61403,
"c": 0.2074,
"h": 281.5
},
"luminance": 0.21262
}Semantic roles & 50–950 ramp
primary
#756BFB
secondary
#F2F5CD
accent
#E600D6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86