#6A5BEF#6A5BEF
#6A5BEF is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.214 H 281.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5BEF |
|---|---|
| RGB | rgb(106, 91, 239) |
| HSL | hsl(246, 82%, 65%) |
| HSV | hsv(246, 62%, 94%) |
| CMYK | cmyk(55.6%, 61.9%, 0%, 6.3%) |
| CIE-LAB | lab(47.98, 45.70, -72.80) |
| CIE-LCH | lch(47.98, 85.95, 302.12°) |
| OKLab | oklab(57.06% 0.0437 -0.2091) |
| OKLCH | oklch(57.06% 0.214 281.8) |
| XYZ | xyz(25.2601, 16.7767, 83.5518) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.46
Mediumslateblue
#7B68EE
ΔE00 4.58
Slate Blue
#6A5ACD
ΔE00 4.72
Purpley
#8756E4
ΔE00 5.27
Warm Blue
#4B57DB
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5BEF #E0EF5B
analogous
#5B96EF #6A5BEF #B45BEF
triadic
#6A5BEF #EF6A5B #5BEF6A
tetradic
#6A5BEF #EF5B96 #E0EF5B #5BEFB4
square
#6A5BEF #EF5B96 #E0EF5B #5BEFB4
split-complementary
#6A5BEF #EFB45B #96EF5B
monochromatic
#2412BD #3723EA #6A5BEF #9D93F4 #CFCBFA
Accessibility & contrast
On white
4.82
#6A5BEF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#6A5BEF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5BEF
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5BEF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5BEF | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#257F9D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6a5bef; /* rgb */ color: rgb(106, 91, 239); /* oklch */ color: oklch(57.1% 0.214 281.8);
Tailwind
colors: {
custom: {
50: '#a08af5',
500: '#6a5bef',
950: '#000000',
},
}SCSS
$custom: #6a5bef; $custom-light: #a08af5; $custom-dark: #000000;
JSON
{
"hex": "#6a5bef",
"rgb": {
"r": 106,
"g": 91,
"b": 239
},
"hsl": {
"h": 246.081,
"s": 82.222,
"l": 64.706
},
"oklch": {
"l": 0.57061,
"c": 0.21367,
"h": 281.8
},
"luminance": 0.16778
}Semantic roles & 50–950 ramp
primary
#6A5BEF
secondary
#E7ECBA
accent
#DF07C9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85