#6A5AEC#6A5AEC
#6A5AEC is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.7% C 0.211 H 282.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5AEC |
|---|---|
| RGB | rgb(106, 90, 236) |
| HSL | hsl(247, 79%, 64%) |
| HSV | hsv(247, 62%, 93%) |
| CMYK | cmyk(55.1%, 61.9%, 0%, 7.5%) |
| CIE-LAB | lab(47.54, 45.37, -71.83) |
| CIE-LCH | lch(47.54, 84.96, 302.28°) |
| OKLab | oklab(56.67% 0.0449 -0.2063) |
| OKLCH | oklch(56.67% 0.211 282.3) |
| XYZ | xyz(24.7357, 16.4311, 81.2087) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.28
Mediumslateblue
#7B68EE
ΔE00 4.90
Purpley
#8756E4
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5AEC #DCEC5A
analogous
#5A93EC #6A5AEC #B35AEC
triadic
#6A5AEC #EC6A5A #5AEC6A
tetradic
#6A5AEC #EC5A93 #DCEC5A #5AECB3
square
#6A5AEC #EC5A93 #DCEC5A #5AECB3
split-complementary
#6A5AEC #ECB35A #93EC5A
monochromatic
#2715B7 #3823E6 #6A5AEC #9C91F2 #CDC8F9
Accessibility & contrast
On white
4.90
#6A5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#6A5AEC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5AEC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5AEC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5AEC | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#2A7E9B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6a5aec; /* rgb */ color: rgb(106, 90, 236); /* oklch */ color: oklch(56.7% 0.211 282.3);
Tailwind
colors: {
custom: {
50: '#a089f3',
500: '#6a5aec',
950: '#000000',
},
}SCSS
$custom: #6a5aec; $custom-light: #a089f3; $custom-dark: #000000;
JSON
{
"hex": "#6a5aec",
"rgb": {
"r": 106,
"g": 90,
"b": 236
},
"hsl": {
"h": 246.575,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.56667,
"c": 0.21113,
"h": 282.3
},
"luminance": 0.16433
}Semantic roles & 50–950 ramp
primary
#6A5AEC
secondary
#E5EBB7
accent
#DC0AC5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85