#6B5CF7#6B5CF7
#6B5CF7 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.9% C 0.222 H 281.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CF7 |
|---|---|
| RGB | rgb(107, 92, 247) |
| HSL | hsl(246, 91%, 66%) |
| HSV | hsv(246, 63%, 97%) |
| CMYK | cmyk(56.7%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(48.88, 47.72, -75.81) |
| CIE-LCH | lch(48.88, 89.57, 302.19°) |
| OKLab | oklab(57.93% 0.0435 -0.218) |
| OKLCH | oklch(57.93% 0.222 281.3) |
| XYZ | xyz(26.6738, 17.4937, 89.9487) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.81
Warm Blue
#4B57DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CF7 #E8F75C
analogous
#5C9BF7 #6B5CF7 #B85CF7
triadic
#6B5CF7 #F76B5C #5CF76B
tetradic
#6B5CF7 #F75C9B #E8F75C #5CF7B8
square
#6B5CF7 #F75C9B #E8F75C #5CF7B8
split-complementary
#6B5CF7 #F7B85C #9BF75C
monochromatic
#1D0ACE #3622F4 #6B5CF7 #A096FA #D5D1FD
Accessibility & contrast
On white
4.67
#6B5CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#6B5CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CF7
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CF7 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#1A83A1
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6b5cf7; /* rgb */ color: rgb(107, 92, 247); /* oklch */ color: oklch(57.9% 0.222 281.3);
Tailwind
colors: {
custom: {
50: '#a28bfb',
500: '#6b5cf7',
950: '#000000',
},
}SCSS
$custom: #6b5cf7; $custom-light: #a28bfb; $custom-dark: #000000;
JSON
{
"hex": "#6b5cf7",
"rgb": {
"r": 107,
"g": 92,
"b": 247
},
"hsl": {
"h": 245.806,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.57925,
"c": 0.22225,
"h": 281.3
},
"luminance": 0.17495
}Semantic roles & 50–950 ramp
primary
#6B5CF7
secondary
#ECF1BE
accent
#E600CF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86