#6A5BF2#6A5BF2
#6A5BF2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.3% C 0.217 H 281.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5BF2 |
|---|---|
| RGB | rgb(106, 91, 242) |
| HSL | hsl(246, 85%, 65%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(56.2%, 62.4%, 0%, 5.1%) |
| CIE-LAB | lab(48.20, 46.61, -74.11) |
| CIE-LCH | lch(48.20, 87.55, 302.17°) |
| OKLab | oklab(57.3% 0.0435 -0.213) |
| OKLCH | oklch(57.3% 0.217 281.5) |
| XYZ | xyz(25.7070, 16.9555, 85.9053) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.10
Purpley
#8756E4
ΔE00 5.35
Warm Blue
#4B57DB
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5BF2 #E3F25B
analogous
#5B98F2 #6A5BF2 #B55BF2
triadic
#6A5BF2 #F26A5B #5BF26A
tetradic
#6A5BF2 #F25B98 #E3F25B #5BF2B5
square
#6A5BF2 #F25B98 #E3F25B #5BF2B5
split-complementary
#6A5BF2 #F2B55B #98F25B
monochromatic
#210FC3 #3622EE #6A5BF2 #9E94F6 #D1CCFB
Accessibility & contrast
On white
4.78
#6A5BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#6A5BF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5BF2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5BF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5BF2 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#20809E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6a5bf2; /* rgb */ color: rgb(106, 91, 242); /* oklch */ color: oklch(57.3% 0.217 281.5);
Tailwind
colors: {
custom: {
50: '#a08af7',
500: '#6a5bf2',
950: '#000000',
},
}SCSS
$custom: #6a5bf2; $custom-light: #a08af7; $custom-dark: #000000;
JSON
{
"hex": "#6a5bf2",
"rgb": {
"r": 106,
"g": 91,
"b": 242
},
"hsl": {
"h": 245.96,
"s": 85.311,
"l": 65.294
},
"oklch": {
"l": 0.57297,
"c": 0.21741,
"h": 281.5
},
"luminance": 0.16957
}Semantic roles & 50–950 ramp
primary
#6A5BF2
secondary
#E9EEBB
accent
#E204CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85