#6A5DED#6A5DED
#6A5DED is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.209 H 281.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5DED |
|---|---|
| RGB | rgb(106, 93, 237) |
| HSL | hsl(245, 80%, 65%) |
| HSV | hsv(245, 61%, 93%) |
| CMYK | cmyk(55.3%, 60.8%, 0%, 7.1%) |
| CIE-LAB | lab(48.27, 43.94, -71.20) |
| CIE-LCH | lch(48.27, 83.67, 301.68°) |
| OKLab | oklab(57.23% 0.042 -0.2044) |
| OKLCH | oklch(57.23% 0.209 281.6) |
| XYZ | xyz(25.1395, 17.0057, 82.0621) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.94
Mediumslateblue
#7B68EE
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.60
Purpley
#8756E4
ΔE00 5.43
Warm Blue
#4B57DB
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5DED #E0ED5D
analogous
#5D98ED #6A5DED #B25DED
triadic
#6A5DED #ED6A5D #5DED6A
tetradic
#6A5DED #ED5D98 #E0ED5D #5DEDB2
square
#6A5DED #ED5D98 #E0ED5D #5DEDB2
split-complementary
#6A5DED #EDB25D #98ED5D
monochromatic
#2415BB #3726E7 #6A5DED #9D94F3 #CFCBF9
Accessibility & contrast
On white
4.77
#6A5DED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#6A5DED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5DED
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5DED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5DED | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#28809C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6a5ded; /* rgb */ color: rgb(106, 93, 237); /* oklch */ color: oklch(57.2% 0.209 281.6);
Tailwind
colors: {
custom: {
50: '#a08bf4',
500: '#6a5ded',
950: '#000000',
},
}SCSS
$custom: #6a5ded; $custom-light: #a08bf4; $custom-dark: #000000;
JSON
{
"hex": "#6a5ded",
"rgb": {
"r": 106,
"g": 93,
"b": 237
},
"hsl": {
"h": 245.417,
"s": 80,
"l": 64.706
},
"oklch": {
"l": 0.57226,
"c": 0.20872,
"h": 281.6
},
"luminance": 0.17007
}Semantic roles & 50–950 ramp
primary
#6A5DED
secondary
#E7ECBA
accent
#DC09C9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85