#6A5FF0#6A5FF0
#6A5FF0 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.210 H 281.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FF0 |
|---|---|
| RGB | rgb(106, 95, 240) |
| HSL | hsl(245, 83%, 66%) |
| HSV | hsv(245, 60%, 94%) |
| CMYK | cmyk(55.8%, 60.4%, 0%, 5.9%) |
| CIE-LAB | lab(48.93, 43.69, -71.81) |
| CIE-LCH | lch(48.93, 84.06, 301.32°) |
| OKLab | oklab(57.78% 0.04 -0.2062) |
| OKLCH | oklch(57.78% 0.21 281) |
| XYZ | xyz(25.7593, 17.5382, 84.4490) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.71
Dark Periwinkle
#665FD1
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.19
Purpley
#8756E4
ΔE00 5.77
Warm Blue
#4B57DB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FF0 #E5F05F
analogous
#5F9CF0 #6A5FF0 #B35FF0
triadic
#6A5FF0 #F06A5F #5FF06A
tetradic
#6A5FF0 #F05F9C #E5F05F #5FF0B3
square
#6A5FF0 #F05F9C #E5F05F #5FF0B3
split-complementary
#6A5FF0 #F0B35F #9CF05F
monochromatic
#2012C2 #3627EB #6A5FF0 #9E97F5 #D2CFFA
Accessibility & contrast
On white
4.66
#6A5FF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#6A5FF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5FF0
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5FF0 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#006FED
Tritanopia (blue-blind)
#22829F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6a5ff0; /* rgb */ color: rgb(106, 95, 240); /* oklch */ color: oklch(57.8% 0.210 281.0);
Tailwind
colors: {
custom: {
50: '#a08df6',
500: '#6a5ff0',
950: '#000000',
},
}SCSS
$custom: #6a5ff0; $custom-light: #a08df6; $custom-dark: #000000;
JSON
{
"hex": "#6a5ff0",
"rgb": {
"r": 106,
"g": 95,
"b": 240
},
"hsl": {
"h": 244.552,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.57782,
"c": 0.21006,
"h": 281
},
"luminance": 0.1754
}Semantic roles & 50–950 ramp
primary
#6A5FF0
secondary
#EAEEBD
accent
#DF06CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85