#6A5AE4#6A5AE4
#6A5AE4 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.201 H 283.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5AE4 |
|---|---|
| RGB | rgb(106, 90, 228) |
| HSL | hsl(247, 72%, 62%) |
| HSV | hsv(247, 61%, 89%) |
| CMYK | cmyk(53.5%, 60.5%, 0%, 10.6%) |
| CIE-LAB | lab(46.94, 42.95, -68.28) |
| CIE-LCH | lch(46.94, 80.67, 302.17°) |
| OKLab | oklab(56.05% 0.0454 -0.1959) |
| OKLCH | oklch(56.05% 0.201 283) |
| XYZ | xyz(23.5993, 15.9766, 75.2240) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 3.09
Slate Blue
#6A5ACD
ΔE00 3.24
Iris
#6258C4
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 4.88
Purpley
#8756E4
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5AE4 #D4E45A
analogous
#5A8FE4 #6A5AE4 #AF5AE4
triadic
#6A5AE4 #E46A5A #5AE46A
tetradic
#6A5AE4 #E45A8F #D4E45A #5AE4AF
square
#6A5AE4 #E45A8F #D4E45A #5AE4AF
split-complementary
#6A5AE4 #E4AF5A #8FE45A
monochromatic
#2C1CA8 #3B25DB #6A5AE4 #998FED #C9C3F5
Accessibility & contrast
On white
5.01
#6A5AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#6A5AE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5AE4
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5AE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5AE4 | 1.00 | 5.01 | 4.20 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#347B96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6a5ae4; /* rgb */ color: rgb(106, 90, 228); /* oklch */ color: oklch(56.0% 0.201 283.0);
Tailwind
colors: {
custom: {
50: '#9e89ed',
500: '#6a5ae4',
950: '#000000',
},
}SCSS
$custom: #6a5ae4; $custom-light: #9e89ed; $custom-dark: #000000;
JSON
{
"hex": "#6a5ae4",
"rgb": {
"r": 106,
"g": 90,
"b": 228
},
"hsl": {
"h": 246.957,
"s": 71.875,
"l": 62.353
},
"oklch": {
"l": 0.56049,
"c": 0.20106,
"h": 283
},
"luminance": 0.15978
}Semantic roles & 50–950 ramp
primary
#6A5AE4
secondary
#E0E6B4
accent
#D412BD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84