#6C5AF3#6C5AF3
#6C5AF3 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.4% C 0.220 H 282.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5AF3 |
|---|---|
| RGB | rgb(108, 90, 243) |
| HSL | hsl(247, 86%, 65%) |
| HSV | hsv(247, 63%, 95%) |
| CMYK | cmyk(55.6%, 63%, 0%, 4.7%) |
| CIE-LAB | lab(48.22, 47.81, -74.63) |
| CIE-LCH | lch(48.22, 88.63, 302.64°) |
| OKLab | oklab(57.37% 0.0468 -0.2145) |
| OKLCH | oklch(57.37% 0.22 282.3) |
| XYZ | xyz(26.0132, 16.9699, 86.6814) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 4.91
Purpley
#8756E4
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.21
Warm Blue
#4B57DB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5AF3 #E1F35A
analogous
#5A94F3 #6C5AF3 #B95AF3
triadic
#6C5AF3 #F36C5A #5AF36C
tetradic
#6C5AF3 #F35A94 #E1F35A #5AF3B9
square
#6C5AF3 #F35A94 #E1F35A #5AF3B9
split-complementary
#6C5AF3 #F3B95A #94F35A
monochromatic
#240EC4 #3921EF #6C5AF3 #9F93F7 #D2CCFB
Accessibility & contrast
On white
4.78
#6C5AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#6C5AF3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5AF3
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5AF3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5AF3 | 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)
#0078F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#27809E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6c5af3; /* rgb */ color: rgb(108, 90, 243); /* oklch */ color: oklch(57.4% 0.220 282.3);
Tailwind
colors: {
custom: {
50: '#a28af8',
500: '#6c5af3',
950: '#000000',
},
}SCSS
$custom: #6c5af3; $custom-light: #a28af8; $custom-dark: #000000;
JSON
{
"hex": "#6c5af3",
"rgb": {
"r": 108,
"g": 90,
"b": 243
},
"hsl": {
"h": 247.059,
"s": 86.441,
"l": 65.294
},
"oklch": {
"l": 0.57373,
"c": 0.21954,
"h": 282.3
},
"luminance": 0.16972
}Semantic roles & 50–950 ramp
primary
#6C5AF3
secondary
#E8EEBB
accent
#E303C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85