#6B5FFB#6B5FFB
#6B5FFB is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.7% C 0.224 H 280.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5FFB |
|---|---|
| RGB | rgb(107, 95, 251) |
| HSL | hsl(245, 95%, 68%) |
| HSV | hsv(245, 62%, 98%) |
| CMYK | cmyk(57.4%, 62.2%, 0%, 1.6%) |
| CIE-LAB | lab(49.83, 47.22, -76.49) |
| CIE-LCH | lch(49.83, 89.89, 301.69°) |
| OKLab | oklab(58.71% 0.0405 -0.2199) |
| OKLCH | oklch(58.71% 0.224 280.4) |
| XYZ | xyz(27.5627, 18.2734, 93.3228) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.09
Light Indigo
#6D5ACF
ΔE00 6.30
Slate Blue
#6A5ACD
ΔE00 6.57
Warm Blue
#4B57DB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5FFB #EFFB5F
analogous
#5FA1FB #6B5FFB #B95FFB
triadic
#6B5FFB #FB6B5F #5FFB6B
tetradic
#6B5FFB #FB5FA1 #EFFB5F #5FFBB9
square
#6B5FFB #FB5FA1 #EFFB5F #5FFBB9
split-complementary
#6B5FFB #FBB95F #A1FB5F
monochromatic
#1605DA #3423FA #6B5FFB #A29BFC #D9D6FE
Accessibility & contrast
On white
4.51
#6B5FFB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#6B5FFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6B5FFB
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6B5FFB | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0071F8
Tritanopia (blue-blind)
#0B86A4
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #6b5ffb; /* rgb */ color: rgb(107, 95, 251); /* oklch */ color: oklch(58.7% 0.224 280.4);
Tailwind
colors: {
custom: {
50: '#a28dfe',
500: '#6b5ffb',
950: '#000000',
},
}SCSS
$custom: #6b5ffb; $custom-light: #a28dfe; $custom-dark: #000000;
JSON
{
"hex": "#6b5ffb",
"rgb": {
"r": 107,
"g": 95,
"b": 251
},
"hsl": {
"h": 244.615,
"s": 95.122,
"l": 67.843
},
"oklch": {
"l": 0.58712,
"c": 0.22364,
"h": 280.4
},
"luminance": 0.18275
}Semantic roles & 50–950 ramp
primary
#6B5FFB
secondary
#EFF3C3
accent
#E600D4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86