#6B5DF6#6B5DF6
#6B5DF6 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 58.0% C 0.220 H 281.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5DF6 |
|---|---|
| RGB | rgb(107, 93, 246) |
| HSL | hsl(245, 89%, 66%) |
| HSV | hsv(245, 62%, 96%) |
| CMYK | cmyk(56.5%, 62.2%, 0%, 3.5%) |
| CIE-LAB | lab(49.02, 46.84, -75.02) |
| CIE-LCH | lch(49.02, 88.44, 301.98°) |
| OKLab | oklab(58% 0.0426 -0.2156) |
| OKLCH | oklch(58% 0.22 281.2) |
| XYZ | xyz(26.6071, 17.6066, 89.1673) |
| Luminance | 0.1761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.48
Purpley
#8756E4
ΔE00 5.59
Slate Blue
#6A5ACD
ΔE00 5.76
Warm Blue
#4B57DB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5DF6 #E8F65D
analogous
#5D9CF6 #6B5DF6 #B85DF6
triadic
#6B5DF6 #F66B5D #5DF66B
tetradic
#6B5DF6 #F65D9C #E8F65D #5DF6B8
square
#6B5DF6 #F65D9C #E8F65D #5DF6B8
split-complementary
#6B5DF6 #F6B85D #9CF65D
monochromatic
#1D0BCD #3623F3 #6B5DF6 #A097F9 #D5D1FC
Accessibility & contrast
On white
4.64
#6B5DF6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#6B5DF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5DF6
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5DF6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5DF6 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#1C83A1
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6b5df6; /* rgb */ color: rgb(107, 93, 246); /* oklch */ color: oklch(58.0% 0.220 281.2);
Tailwind
colors: {
custom: {
50: '#a18cfa',
500: '#6b5df6',
950: '#000000',
},
}SCSS
$custom: #6b5df6; $custom-light: #a18cfa; $custom-dark: #000000;
JSON
{
"hex": "#6b5df6",
"rgb": {
"r": 107,
"g": 93,
"b": 246
},
"hsl": {
"h": 245.49,
"s": 89.474,
"l": 66.471
},
"oklch": {
"l": 0.58002,
"c": 0.21983,
"h": 281.2
},
"luminance": 0.17608
}Semantic roles & 50–950 ramp
primary
#6B5DF6
secondary
#ECF0BF
accent
#E600D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85