#6B5EF7#6B5EF7
#6B5EF7 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.2% C 0.220 H 280.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5EF7 |
|---|---|
| RGB | rgb(107, 94, 247) |
| HSL | hsl(245, 91%, 67%) |
| HSV | hsv(245, 62%, 97%) |
| CMYK | cmyk(56.7%, 61.9%, 0%, 3.1%) |
| CIE-LAB | lab(49.31, 46.57, -75.10) |
| CIE-LCH | lch(49.31, 88.37, 301.80°) |
| OKLab | oklab(58.24% 0.0417 -0.2159) |
| OKLCH | oklch(58.24% 0.22 280.9) |
| XYZ | xyz(26.8494, 17.8448, 90.0072) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.70
Purpley
#8756E4
ΔE00 5.76
Slate Blue
#6A5ACD
ΔE00 5.97
Warm Blue
#4B57DB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5EF7 #EAF75E
analogous
#5E9EF7 #6B5EF7 #B85EF7
triadic
#6B5EF7 #F76B5E #5EF76B
tetradic
#6B5EF7 #F75E9E #EAF75E #5EF7B8
square
#6B5EF7 #F75E9E #EAF75E #5EF7B8
split-complementary
#6B5EF7 #F7B85E #9EF75E
monochromatic
#1B0AD0 #3524F4 #6B5EF7 #A198FA #D6D3FD
Accessibility & contrast
On white
4.60
#6B5EF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#6B5EF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5EF7
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5EF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5EF7 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#1984A2
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6b5ef7; /* rgb */ color: rgb(107, 94, 247); /* oklch */ color: oklch(58.2% 0.220 280.9);
Tailwind
colors: {
custom: {
50: '#a18cfb',
500: '#6b5ef7',
950: '#000000',
},
}SCSS
$custom: #6b5ef7; $custom-light: #a18cfb; $custom-dark: #000000;
JSON
{
"hex": "#6b5ef7",
"rgb": {
"r": 107,
"g": 94,
"b": 247
},
"hsl": {
"h": 245.098,
"s": 90.533,
"l": 66.863
},
"oklch": {
"l": 0.58239,
"c": 0.21988,
"h": 280.9
},
"luminance": 0.17847
}Semantic roles & 50–950 ramp
primary
#6B5EF7
secondary
#EDF1C0
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86