#6B5EF2#6B5EF2
#6B5EF2 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.214 H 281.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5EF2 |
|---|---|
| RGB | rgb(107, 94, 242) |
| HSL | hsl(245, 85%, 66%) |
| HSV | hsv(245, 61%, 95%) |
| CMYK | cmyk(55.8%, 61.2%, 0%, 5.1%) |
| CIE-LAB | lab(48.93, 45.05, -72.92) |
| CIE-LCH | lch(48.93, 85.71, 301.71°) |
| OKLab | oklab(57.85% 0.042 -0.2095) |
| OKLCH | oklch(57.85% 0.214 281.3) |
| XYZ | xyz(26.0881, 17.5403, 85.9981) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.56
Warm Blue
#4B57DB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5EF2 #E5F25E
analogous
#5E9BF2 #6B5EF2 #B55EF2
triadic
#6B5EF2 #F26B5E #5EF26B
tetradic
#6B5EF2 #F25E9B #E5F25E #5EF2B5
square
#6B5EF2 #F25E9B #E5F25E #5EF2B5
split-complementary
#6B5EF2 #F2B55E #9BF25E
monochromatic
#2010C6 #3725ED #6B5EF2 #9F97F7 #D3CFFB
Accessibility & contrast
On white
4.66
#6B5EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#6B5EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5EF2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5EF2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#24829F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6b5ef2; /* rgb */ color: rgb(107, 94, 242); /* oklch */ color: oklch(57.8% 0.214 281.3);
Tailwind
colors: {
custom: {
50: '#a18cf7',
500: '#6b5ef2',
950: '#000000',
},
}SCSS
$custom: #6b5ef2; $custom-light: #a18cf7; $custom-dark: #000000;
JSON
{
"hex": "#6b5ef2",
"rgb": {
"r": 107,
"g": 94,
"b": 242
},
"hsl": {
"h": 245.27,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.57849,
"c": 0.21363,
"h": 281.3
},
"luminance": 0.17542
}Semantic roles & 50–950 ramp
primary
#6B5EF2
secondary
#EAEEBD
accent
#E204CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85