#6B5CF2#6B5CF2
#6B5CF2 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.5% C 0.216 H 281.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CF2 |
|---|---|
| RGB | rgb(107, 92, 242) |
| HSL | hsl(246, 85%, 65%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(55.8%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(48.50, 46.20, -73.63) |
| CIE-LCH | lch(48.50, 86.92, 302.11°) |
| OKLab | oklab(57.53% 0.0438 -0.2116) |
| OKLCH | oklch(57.53% 0.216 281.7) |
| XYZ | xyz(25.9126, 17.1892, 85.9396) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.20
Dark Periwinkle
#665FD1
ΔE00 4.62
Light Indigo
#6D5ACF
ΔE00 4.90
Slate Blue
#6A5ACD
ΔE00 5.17
Purpley
#8756E4
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CF2 #E3F25C
analogous
#5C98F2 #6B5CF2 #B65CF2
triadic
#6B5CF2 #F26B5C #5CF26B
tetradic
#6B5CF2 #F25C98 #E3F25C #5CF2B6
square
#6B5CF2 #F25C98 #E3F25C #5CF2B6
split-complementary
#6B5CF2 #F2B65C #98F25C
monochromatic
#2210C4 #3823ED #6B5CF2 #9E95F7 #D2CDFB
Accessibility & contrast
On white
4.73
#6B5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#6B5CF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CF2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CF2 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#24819F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6b5cf2; /* rgb */ color: rgb(107, 92, 242); /* oklch */ color: oklch(57.5% 0.216 281.7);
Tailwind
colors: {
custom: {
50: '#a18bf7',
500: '#6b5cf2',
950: '#000000',
},
}SCSS
$custom: #6b5cf2; $custom-light: #a18bf7; $custom-dark: #000000;
JSON
{
"hex": "#6b5cf2",
"rgb": {
"r": 107,
"g": 92,
"b": 242
},
"hsl": {
"h": 246,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.5753,
"c": 0.21605,
"h": 281.7
},
"luminance": 0.17191
}Semantic roles & 50–950 ramp
primary
#6B5CF2
secondary
#E9EEBC
accent
#E204CC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85