#6A5CF2#6A5CF2
#6A5CF2 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.5% C 0.216 H 281.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CF2 |
|---|---|
| RGB | rgb(106, 92, 242) |
| HSL | hsl(246, 85%, 65%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(56.2%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(48.42, 46.04, -73.76) |
| CIE-LCH | lch(48.42, 86.95, 301.97°) |
| OKLab | oklab(57.46% 0.0426 -0.212) |
| OKLCH | oklch(57.46% 0.216 281.4) |
| XYZ | xyz(25.7930, 17.1276, 85.9340) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.16
Purpley
#8756E4
ΔE00 5.45
Warm Blue
#4B57DB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CF2 #E4F25C
analogous
#5C99F2 #6A5CF2 #B55CF2
triadic
#6A5CF2 #F26A5C #5CF26A
tetradic
#6A5CF2 #F25C99 #E4F25C #5CF2B5
square
#6A5CF2 #F25C99 #E4F25C #5CF2B5
split-complementary
#6A5CF2 #F2B55C #99F25C
monochromatic
#2010C4 #3623ED #6A5CF2 #9E95F7 #D2CDFB
Accessibility & contrast
On white
4.74
#6A5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#6A5CF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CF2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CF2 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#1F819F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6a5cf2; /* rgb */ color: rgb(106, 92, 242); /* oklch */ color: oklch(57.5% 0.216 281.4);
Tailwind
colors: {
custom: {
50: '#a08bf7',
500: '#6a5cf2',
950: '#000000',
},
}SCSS
$custom: #6a5cf2; $custom-light: #a08bf7; $custom-dark: #000000;
JSON
{
"hex": "#6a5cf2",
"rgb": {
"r": 106,
"g": 92,
"b": 242
},
"hsl": {
"h": 245.6,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.57455,
"c": 0.21621,
"h": 281.4
},
"luminance": 0.17129
}Semantic roles & 50–950 ramp
primary
#6A5CF2
secondary
#E9EEBC
accent
#E204CD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85