#6B5AF4#6B5AF4
#6B5AF4 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.4% C 0.221 H 281.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5AF4 |
|---|---|
| RGB | rgb(107, 90, 244) |
| HSL | hsl(247, 88%, 65%) |
| HSV | hsv(247, 63%, 96%) |
| CMYK | cmyk(56.1%, 63.1%, 0%, 4.3%) |
| CIE-LAB | lab(48.22, 47.95, -75.20) |
| CIE-LCH | lch(48.22, 89.18, 302.52°) |
| OKLab | oklab(57.38% 0.0455 -0.2162) |
| OKLCH | oklch(57.38% 0.221 281.9) |
| XYZ | xyz(26.0436, 16.9681, 87.4732) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.63
Dark Periwinkle
#665FD1
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5AF4 #E3F45A
analogous
#5A96F4 #6B5AF4 #B85AF4
triadic
#6B5AF4 #F46B5A #5AF46B
tetradic
#6B5AF4 #F45A96 #E3F45A #5AF4B8
square
#6B5AF4 #F45A96 #E3F45A #5AF4B8
split-complementary
#6B5AF4 #F4B85A #96F45A
monochromatic
#220DC6 #3821F0 #6B5AF4 #9E93F8 #D2CDFC
Accessibility & contrast
On white
4.78
#6B5AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#6B5AF4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5AF4
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5AF4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5AF4 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#21809F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6b5af4; /* rgb */ color: rgb(107, 90, 244); /* oklch */ color: oklch(57.4% 0.221 281.9);
Tailwind
colors: {
custom: {
50: '#a18af9',
500: '#6b5af4',
950: '#000000',
},
}SCSS
$custom: #6b5af4; $custom-light: #a18af9; $custom-dark: #000000;
JSON
{
"hex": "#6b5af4",
"rgb": {
"r": 107,
"g": 90,
"b": 244
},
"hsl": {
"h": 246.623,
"s": 87.5,
"l": 65.49
},
"oklch": {
"l": 0.57375,
"c": 0.22091,
"h": 281.9
},
"luminance": 0.1697
}Semantic roles & 50–950 ramp
primary
#6B5AF4
secondary
#E9EFBB
accent
#E401CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85