#6A5CF1#6A5CF1
#6A5CF1 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.4% C 0.215 H 281.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CF1 |
|---|---|
| RGB | rgb(106, 92, 241) |
| HSL | hsl(246, 84%, 65%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(56%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(48.35, 45.73, -73.32) |
| CIE-LCH | lch(48.35, 86.41, 301.95°) |
| OKLab | oklab(57.38% 0.0427 -0.2107) |
| OKLCH | oklch(57.38% 0.215 281.4) |
| XYZ | xyz(25.6432, 17.0677, 85.1452) |
| Luminance | 0.1707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.31
Dark Periwinkle
#665FD1
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.42
Warm Blue
#4B57DB
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CF1 #E3F15C
analogous
#5C98F1 #6A5CF1 #B55CF1
triadic
#6A5CF1 #F16A5C #5CF16A
tetradic
#6A5CF1 #F15C98 #E3F15C #5CF1B5
square
#6A5CF1 #F15C98 #E3F15C #5CF1B5
split-complementary
#6A5CF1 #F1B55C #98F15C
monochromatic
#2111C2 #3624EC #6A5CF1 #9E94F6 #D1CDFB
Accessibility & contrast
On white
4.76
#6A5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#6A5CF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CF1
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CF1 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F6
Deuteranopia (green-blind)
#006DEE
Tritanopia (blue-blind)
#21819E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6a5cf1; /* rgb */ color: rgb(106, 92, 241); /* oklch */ color: oklch(57.4% 0.215 281.4);
Tailwind
colors: {
custom: {
50: '#a08bf7',
500: '#6a5cf1',
950: '#000000',
},
}SCSS
$custom: #6a5cf1; $custom-light: #a08bf7; $custom-dark: #000000;
JSON
{
"hex": "#6a5cf1",
"rgb": {
"r": 106,
"g": 92,
"b": 241
},
"hsl": {
"h": 245.638,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.57376,
"c": 0.21496,
"h": 281.4
},
"luminance": 0.17069
}Semantic roles & 50–950 ramp
primary
#6A5CF1
secondary
#E9EEBB
accent
#E105CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85