#6C5AF7#6C5AF7
#6C5AF7 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.7% C 0.224 H 281.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5AF7 |
|---|---|
| RGB | rgb(108, 90, 247) |
| HSL | hsl(247, 91%, 66%) |
| HSV | hsv(247, 64%, 97%) |
| CMYK | cmyk(56.3%, 63.6%, 0%, 3.1%) |
| CIE-LAB | lab(48.53, 49.01, -76.37) |
| CIE-LCH | lch(48.53, 90.74, 302.69°) |
| OKLab | oklab(57.69% 0.0464 -0.2196) |
| OKLCH | oklch(57.69% 0.224 281.9) |
| XYZ | xyz(26.6238, 17.2142, 89.8974) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.53
Purpley
#8756E4
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.33
Light Indigo
#6D5ACF
ΔE00 5.41
Slate Blue
#6A5ACD
ΔE00 5.71
Warm Blue
#4B57DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5AF7 #E5F75A
analogous
#5A96F7 #6C5AF7 #BA5AF7
triadic
#6C5AF7 #F76C5A #5AF76C
tetradic
#6C5AF7 #F75A96 #E5F75A #5AF7BA
square
#6C5AF7 #F75A96 #E5F75A #5AF7BA
split-complementary
#6C5AF7 #F7BA5A #96F75A
monochromatic
#200ACD #3820F4 #6C5AF7 #A094FA #D4CFFD
Accessibility & contrast
On white
4.73
#6C5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#6C5AF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5AF7
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5AF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5AF7 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#2081A1
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6c5af7; /* rgb */ color: rgb(108, 90, 247); /* oklch */ color: oklch(57.7% 0.224 281.9);
Tailwind
colors: {
custom: {
50: '#a28afb',
500: '#6c5af7',
950: '#000000',
},
}SCSS
$custom: #6c5af7; $custom-light: #a28afb; $custom-dark: #000000;
JSON
{
"hex": "#6c5af7",
"rgb": {
"r": 108,
"g": 90,
"b": 247
},
"hsl": {
"h": 246.879,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.57691,
"c": 0.22444,
"h": 281.9
},
"luminance": 0.17216
}Semantic roles & 50–950 ramp
primary
#6C5AF7
secondary
#EAF0BD
accent
#E600CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86