#6A5FEE#6A5FEE
#6A5FEE is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.6% C 0.208 H 281.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FEE |
|---|---|
| RGB | rgb(106, 95, 238) |
| HSL | hsl(245, 81%, 65%) |
| HSV | hsv(245, 60%, 93%) |
| CMYK | cmyk(55.5%, 60.1%, 0%, 6.7%) |
| CIE-LAB | lab(48.78, 43.08, -70.92) |
| CIE-LCH | lch(48.78, 82.98, 301.28°) |
| OKLab | oklab(57.63% 0.0401 -0.2036) |
| OKLCH | oklch(57.63% 0.208 281.1) |
| XYZ | xyz(25.4639, 17.4200, 82.8929) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.75
Dark Periwinkle
#665FD1
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 4.94
Purpley
#8756E4
ΔE00 5.72
Warm Blue
#4B57DB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FEE #E3EE5F
analogous
#5F9CEE #6A5FEE #B15FEE
triadic
#6A5FEE #EE6A5F #5FEE6A
tetradic
#6A5FEE #EE5F9C #E3EE5F #5FEEB1
square
#6A5FEE #EE5F9C #E3EE5F #5FEEB1
split-complementary
#6A5FEE #EEB15F #9CEE5F
monochromatic
#2114BE #3628E8 #6A5FEE #9E96F4 #D1CEFA
Accessibility & contrast
On white
4.68
#6A5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#6A5FEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5FEE
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5FEE | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#26829E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6a5fee; /* rgb */ color: rgb(106, 95, 238); /* oklch */ color: oklch(57.6% 0.208 281.1);
Tailwind
colors: {
custom: {
50: '#a08df4',
500: '#6a5fee',
950: '#000000',
},
}SCSS
$custom: #6a5fee; $custom-light: #a08df4; $custom-dark: #000000;
JSON
{
"hex": "#6a5fee",
"rgb": {
"r": 106,
"g": 95,
"b": 238
},
"hsl": {
"h": 244.615,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.57629,
"c": 0.20753,
"h": 281.1
},
"luminance": 0.17422
}Semantic roles & 50–950 ramp
primary
#6A5FEE
secondary
#E9ECBC
accent
#DD08CD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85