#6C5DF6#6C5DF6
#6C5DF6 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.1% C 0.220 H 281.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5DF6 |
|---|---|
| RGB | rgb(108, 93, 246) |
| HSL | hsl(246, 89%, 66%) |
| HSV | hsv(246, 62%, 96%) |
| CMYK | cmyk(56.1%, 62.2%, 0%, 3.5%) |
| CIE-LAB | lab(49.09, 47.01, -74.89) |
| CIE-LCH | lch(49.09, 88.42, 302.12°) |
| OKLab | oklab(58.08% 0.0439 -0.2152) |
| OKLCH | oklch(58.08% 0.22 281.5) |
| XYZ | xyz(26.7281, 17.6689, 89.1729) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.87
Dark Periwinkle
#665FD1
ΔE00 5.14
Purpley
#8756E4
ΔE00 5.47
Light Indigo
#6D5ACF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.78
Warm Blue
#4B57DB
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5DF6 #E7F65D
analogous
#5D9BF6 #6C5DF6 #B95DF6
triadic
#6C5DF6 #F66C5D #5DF66C
tetradic
#6C5DF6 #F65D9B #E7F65D #5DF6B9
square
#6C5DF6 #F65D9B #E7F65D #5DF6B9
split-complementary
#6C5DF6 #F6B95D #9BF65D
monochromatic
#1E0BCD #3723F3 #6C5DF6 #A197F9 #D5D1FC
Accessibility & contrast
On white
4.63
#6C5DF6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#6C5DF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5DF6
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5DF6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5DF6 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#2183A1
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6c5df6; /* rgb */ color: rgb(108, 93, 246); /* oklch */ color: oklch(58.1% 0.220 281.5);
Tailwind
colors: {
custom: {
50: '#a28cfa',
500: '#6c5df6',
950: '#000000',
},
}SCSS
$custom: #6c5df6; $custom-light: #a28cfa; $custom-dark: #000000;
JSON
{
"hex": "#6c5df6",
"rgb": {
"r": 108,
"g": 93,
"b": 246
},
"hsl": {
"h": 245.882,
"s": 89.474,
"l": 66.471
},
"oklch": {
"l": 0.58078,
"c": 0.21967,
"h": 281.5
},
"luminance": 0.17671
}Semantic roles & 50–950 ramp
primary
#6C5DF6
secondary
#EBF0BF
accent
#E600CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85