#6B5EE4#6B5EE4
#6B5EE4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.8% C 0.196 H 282.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5EE4 |
|---|---|
| RGB | rgb(107, 94, 228) |
| HSL | hsl(246, 71%, 63%) |
| HSV | hsv(246, 59%, 89%) |
| CMYK | cmyk(53.1%, 58.8%, 0%, 10.6%) |
| CIE-LAB | lab(47.92, 40.80, -66.69) |
| CIE-LCH | lch(47.92, 78.18, 301.46°) |
| OKLab | oklab(56.79% 0.0427 -0.1912) |
| OKLCH | oklch(56.79% 0.196 282.6) |
| XYZ | xyz(24.0654, 16.7312, 75.3451) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 3.55
Mediumslateblue
#7B68EE
ΔE00 4.29
Iris
#6258C4
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5EE4 #D7E45E
analogous
#5E94E4 #6B5EE4 #AE5EE4
triadic
#6B5EE4 #E46B5E #5EE46B
tetradic
#6B5EE4 #E45E94 #D7E45E #5EE4AE
square
#6B5EE4 #E45E94 #D7E45E #5EE4AE
split-complementary
#6B5EE4 #E4AE5E #94E45E
monochromatic
#2A1DAB #3B2ADB #6B5EE4 #9B92ED #CBC7F6
Accessibility & contrast
On white
4.83
#6B5EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#6B5EE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5EE4
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5EE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5EE4 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#367E98
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6b5ee4; /* rgb */ color: rgb(107, 94, 228); /* oklch */ color: oklch(56.8% 0.196 282.6);
Tailwind
colors: {
custom: {
50: '#9f8ced',
500: '#6b5ee4',
950: '#000000',
},
}SCSS
$custom: #6b5ee4; $custom-light: #9f8ced; $custom-dark: #000000;
JSON
{
"hex": "#6b5ee4",
"rgb": {
"r": 107,
"g": 94,
"b": 228
},
"hsl": {
"h": 245.821,
"s": 71.277,
"l": 63.137
},
"oklch": {
"l": 0.56786,
"c": 0.19586,
"h": 282.6
},
"luminance": 0.16733
}Semantic roles & 50–950 ramp
primary
#6B5EE4
secondary
#E2E7B7
accent
#D312C1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84