#6B5BEB#6B5BEB
#6B5BEB is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.209 H 282.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5BEB |
|---|---|
| RGB | rgb(107, 91, 235) |
| HSL | hsl(247, 78%, 64%) |
| HSV | hsv(247, 61%, 92%) |
| CMYK | cmyk(54.5%, 61.3%, 0%, 7.8%) |
| CIE-LAB | lab(47.76, 44.66, -70.90) |
| CIE-LCH | lch(47.76, 83.80, 302.21°) |
| OKLab | oklab(56.83% 0.0452 -0.2035) |
| OKLCH | oklch(56.83% 0.209 282.5) |
| XYZ | xyz(24.7953, 16.6046, 80.4796) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.21
Mediumslateblue
#7B68EE
ΔE00 4.62
Purpley
#8756E4
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5BEB #DBEB5B
analogous
#5B93EB #6B5BEB #B35BEB
triadic
#6B5BEB #EB6B5B #5BEB6B
tetradic
#6B5BEB #EB5B93 #DBEB5B #5BEBB3
square
#6B5BEB #EB5B93 #DBEB5B #5BEBB3
split-complementary
#6B5BEB #EBB35B #93EB5B
monochromatic
#2816B5 #3A24E4 #6B5BEB #9C92F2 #CDC8F8
Accessibility & contrast
On white
4.86
#6B5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#6B5BEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5BEB
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5BEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5BEB | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#2F7E9B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6b5beb; /* rgb */ color: rgb(107, 91, 235); /* oklch */ color: oklch(56.8% 0.209 282.5);
Tailwind
colors: {
custom: {
50: '#a08af2',
500: '#6b5beb',
950: '#000000',
},
}SCSS
$custom: #6b5beb; $custom-light: #a08af2; $custom-dark: #000000;
JSON
{
"hex": "#6b5beb",
"rgb": {
"r": 107,
"g": 91,
"b": 235
},
"hsl": {
"h": 246.667,
"s": 78.261,
"l": 63.922
},
"oklch": {
"l": 0.56827,
"c": 0.20852,
"h": 282.5
},
"luminance": 0.16606
}Semantic roles & 50–950 ramp
primary
#6B5BEB
secondary
#E5EAB8
accent
#DB0BC3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85