#6A5FF1#6A5FF1
#6A5FF1 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.9% C 0.211 H 280.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FF1 |
|---|---|
| RGB | rgb(106, 95, 241) |
| HSL | hsl(245, 84%, 66%) |
| HSV | hsv(245, 61%, 95%) |
| CMYK | cmyk(56%, 60.6%, 0%, 5.5%) |
| CIE-LAB | lab(49.00, 44.00, -72.25) |
| CIE-LCH | lch(49.00, 84.59, 301.34°) |
| OKLab | oklab(57.86% 0.0399 -0.2075) |
| OKLCH | oklch(57.86% 0.211 280.9) |
| XYZ | xyz(25.9083, 17.5978, 85.2335) |
| Luminance | 0.1760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.80
Warm Blue
#4B57DB
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FF1 #E6F15F
analogous
#5F9DF1 #6A5FF1 #B35FF1
triadic
#6A5FF1 #F16A5F #5FF16A
tetradic
#6A5FF1 #F15F9D #E6F15F #5FF1B3
square
#6A5FF1 #F15F9D #E6F15F #5FF1B3
split-complementary
#6A5FF1 #F1B35F #9DF15F
monochromatic
#1F11C4 #3627EC #6A5FF1 #9E97F6 #D3D0FB
Accessibility & contrast
On white
4.65
#6A5FF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#6A5FF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5FF1
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5FF1 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#006FEE
Tritanopia (blue-blind)
#21829F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6a5ff1; /* rgb */ color: rgb(106, 95, 241); /* oklch */ color: oklch(57.9% 0.211 280.9);
Tailwind
colors: {
custom: {
50: '#a08df7',
500: '#6a5ff1',
950: '#000000',
},
}SCSS
$custom: #6a5ff1; $custom-light: #a08df7; $custom-dark: #000000;
JSON
{
"hex": "#6a5ff1",
"rgb": {
"r": 106,
"g": 95,
"b": 241
},
"hsl": {
"h": 244.521,
"s": 83.908,
"l": 65.882
},
"oklch": {
"l": 0.57859,
"c": 0.21132,
"h": 280.9
},
"luminance": 0.17599
}Semantic roles & 50–950 ramp
primary
#6A5FF1
secondary
#EAEEBE
accent
#E005D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85