#6B5FF5#6B5FF5
#6B5FF5 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.2% C 0.216 H 280.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5FF5 |
|---|---|
| RGB | rgb(107, 95, 245) |
| HSL | hsl(245, 88%, 67%) |
| HSV | hsv(245, 61%, 96%) |
| CMYK | cmyk(56.3%, 61.2%, 0%, 3.9%) |
| CIE-LAB | lab(49.38, 45.39, -73.88) |
| CIE-LCH | lch(49.38, 86.71, 301.57°) |
| OKLab | oklab(58.24% 0.0409 -0.2123) |
| OKLCH | oklch(58.24% 0.216 280.9) |
| XYZ | xyz(26.6319, 17.9010, 88.4204) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.56
Dark Periwinkle
#665FD1
ΔE00 5.00
Light Indigo
#6D5ACF
ΔE00 5.56
Purpley
#8756E4
ΔE00 5.81
Slate Blue
#6A5ACD
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5FF5 #E9F55F
analogous
#5F9EF5 #6B5FF5 #B65FF5
triadic
#6B5FF5 #F56B5F #5FF56B
tetradic
#6B5FF5 #F55F9E #E9F55F #5FF5B6
square
#6B5FF5 #F55F9E #E9F55F #5FF5B6
split-complementary
#6B5FF5 #F5B65F #9EF55F
monochromatic
#1C0DCD #3625F1 #6B5FF5 #A099F9 #D6D2FC
Accessibility & contrast
On white
4.58
#6B5FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#6B5FF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6B5FF5
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5FF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6B5FF5 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0070F2
Tritanopia (blue-blind)
#1D84A1
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6b5ff5; /* rgb */ color: rgb(107, 95, 245); /* oklch */ color: oklch(58.2% 0.216 280.9);
Tailwind
colors: {
custom: {
50: '#a18df9',
500: '#6b5ff5',
950: '#000000',
},
}SCSS
$custom: #6b5ff5; $custom-light: #a18df9; $custom-dark: #000000;
JSON
{
"hex": "#6b5ff5",
"rgb": {
"r": 107,
"g": 95,
"b": 245
},
"hsl": {
"h": 244.8,
"s": 88.235,
"l": 66.667
},
"oklch": {
"l": 0.58242,
"c": 0.21618,
"h": 280.9
},
"luminance": 0.17903
}Semantic roles & 50–950 ramp
primary
#6B5FF5
secondary
#ECF0C0
accent
#E501D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85