#6C5AF5#6C5AF5
#6C5AF5 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.5% C 0.222 H 282.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5AF5 |
|---|---|
| RGB | rgb(108, 90, 245) |
| HSL | hsl(247, 89%, 66%) |
| HSV | hsv(247, 63%, 96%) |
| CMYK | cmyk(55.9%, 63.3%, 0%, 3.9%) |
| CIE-LAB | lab(48.38, 48.41, -75.50) |
| CIE-LCH | lch(48.38, 89.69, 302.67°) |
| OKLab | oklab(57.53% 0.0466 -0.217) |
| OKLCH | oklch(57.53% 0.222 282.1) |
| XYZ | xyz(26.3168, 17.0914, 88.2807) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.54
Dark Periwinkle
#665FD1
ΔE00 5.10
Purpley
#8756E4
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.46
Warm Blue
#4B57DB
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5AF5 #E3F55A
analogous
#5A95F5 #6C5AF5 #BA5AF5
triadic
#6C5AF5 #F56C5A #5AF56C
tetradic
#6C5AF5 #F55A95 #E3F55A #5AF5BA
square
#6C5AF5 #F55A95 #E3F55A #5AF5BA
split-complementary
#6C5AF5 #F5BA5A #95F55A
monochromatic
#220CC8 #3920F2 #6C5AF5 #9F94F8 #D3CDFC
Accessibility & contrast
On white
4.75
#6C5AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#6C5AF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5AF5
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5AF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5AF5 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#23819F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6c5af5; /* rgb */ color: rgb(108, 90, 245); /* oklch */ color: oklch(57.5% 0.222 282.1);
Tailwind
colors: {
custom: {
50: '#a28afa',
500: '#6c5af5',
950: '#000000',
},
}SCSS
$custom: #6c5af5; $custom-light: #a28afa; $custom-dark: #000000;
JSON
{
"hex": "#6c5af5",
"rgb": {
"r": 108,
"g": 90,
"b": 245
},
"hsl": {
"h": 246.968,
"s": 88.571,
"l": 65.686
},
"oklch": {
"l": 0.57532,
"c": 0.22199,
"h": 282.1
},
"luminance": 0.17093
}Semantic roles & 50–950 ramp
primary
#6C5AF5
secondary
#E9EFBC
accent
#E500CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85