#6A5CF8#6A5CF8
#6A5CF8 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.9% C 0.224 H 280.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CF8 |
|---|---|
| RGB | rgb(106, 92, 248) |
| HSL | hsl(245, 92%, 67%) |
| HSV | hsv(245, 63%, 97%) |
| CMYK | cmyk(57.3%, 62.9%, 0%, 2.7%) |
| CIE-LAB | lab(48.88, 47.86, -76.37) |
| CIE-LCH | lch(48.88, 90.12, 302.08°) |
| OKLab | oklab(57.93% 0.0421 -0.2196) |
| OKLCH | oklch(57.93% 0.224 280.9) |
| XYZ | xyz(26.7090, 17.4940, 90.7580) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.26
Dark Periwinkle
#665FD1
ΔE00 5.31
Light Indigo
#6D5ACF
ΔE00 5.65
Purpley
#8756E4
ΔE00 5.68
Slate Blue
#6A5ACD
ΔE00 5.92
Warm Blue
#4B57DB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CF8 #EAF85C
analogous
#5C9CF8 #6A5CF8 #B85CF8
triadic
#6A5CF8 #F86A5C #5CF86A
tetradic
#6A5CF8 #F85C9C #EAF85C #5CF8B8
square
#6A5CF8 #F85C9C #EAF85C #5CF8B8
split-complementary
#6A5CF8 #F8B85C #9CF85C
monochromatic
#1B09D1 #3421F5 #6A5CF8 #A097FB #D5D1FD
Accessibility & contrast
On white
4.67
#6A5CF8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#6A5CF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CF8
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CF8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CF8 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFD
Deuteranopia (green-blind)
#006EF5
Tritanopia (blue-blind)
#0F83A2
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6a5cf8; /* rgb */ color: rgb(106, 92, 248); /* oklch */ color: oklch(57.9% 0.224 280.9);
Tailwind
colors: {
custom: {
50: '#a18bfc',
500: '#6a5cf8',
950: '#000000',
},
}SCSS
$custom: #6a5cf8; $custom-light: #a18bfc; $custom-dark: #000000;
JSON
{
"hex": "#6a5cf8",
"rgb": {
"r": 106,
"g": 92,
"b": 248
},
"hsl": {
"h": 245.385,
"s": 91.765,
"l": 66.667
},
"oklch": {
"l": 0.5793,
"c": 0.22363,
"h": 280.9
},
"luminance": 0.17496
}Semantic roles & 50–950 ramp
primary
#6A5CF8
secondary
#EDF1BF
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86