#6A5AF2#6A5AF2
#6A5AF2 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.219 H 281.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5AF2 |
|---|---|
| RGB | rgb(106, 90, 242) |
| HSL | hsl(246, 85%, 65%) |
| HSV | hsv(246, 63%, 95%) |
| CMYK | cmyk(56.2%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(47.99, 47.18, -74.46) |
| CIE-LCH | lch(47.99, 88.15, 302.36°) |
| OKLab | oklab(57.14% 0.0444 -0.214) |
| OKLCH | oklch(57.14% 0.219 281.7) |
| XYZ | xyz(25.6221, 16.7856, 85.8770) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.67
Mediumslateblue
#7B68EE
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.78
Slate Blue
#6A5ACD
ΔE00 5.05
Purpley
#8756E4
ΔE00 5.26
Warm Blue
#4B57DB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5AF2 #E2F25A
analogous
#5A96F2 #6A5AF2 #B65AF2
triadic
#6A5AF2 #F26A5A #5AF26A
tetradic
#6A5AF2 #F25A96 #E2F25A #5AF2B6
square
#6A5AF2 #F25A96 #E2F25A #5AF2B6
split-complementary
#6A5AF2 #F2B65A #96F25A
monochromatic
#220FC2 #3721EE #6A5AF2 #9D93F6 #D0CBFB
Accessibility & contrast
On white
4.82
#6A5AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#6A5AF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5AF2
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5AF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5AF2 | 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)
#0077F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#20809E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6a5af2; /* rgb */ color: rgb(106, 90, 242); /* oklch */ color: oklch(57.1% 0.219 281.7);
Tailwind
colors: {
custom: {
50: '#a08af7',
500: '#6a5af2',
950: '#000000',
},
}SCSS
$custom: #6a5af2; $custom-light: #a08af7; $custom-dark: #000000;
JSON
{
"hex": "#6a5af2",
"rgb": {
"r": 106,
"g": 90,
"b": 242
},
"hsl": {
"h": 246.316,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.5714,
"c": 0.21859,
"h": 281.7
},
"luminance": 0.16787
}Semantic roles & 50–950 ramp
primary
#6A5AF2
secondary
#E8EEBA
accent
#E204CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85