#6B5EE3#6B5EE3
#6B5EE3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.7% C 0.195 H 282.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5EE3 |
|---|---|
| RGB | rgb(107, 94, 227) |
| HSL | hsl(246, 70%, 63%) |
| HSV | hsv(246, 59%, 89%) |
| CMYK | cmyk(52.9%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(47.85, 40.50, -66.24) |
| CIE-LCH | lch(47.85, 77.64, 301.44°) |
| OKLab | oklab(56.71% 0.0427 -0.1898) |
| OKLCH | oklch(56.71% 0.195 282.7) |
| XYZ | xyz(23.9270, 16.6759, 74.6161) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.71
Light Indigo
#6D5ACF
ΔE00 3.20
Slate Blue
#6A5ACD
ΔE00 3.43
Mediumslateblue
#7B68EE
ΔE00 4.35
Iris
#6258C4
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5EE3 #D6E35E
analogous
#5E93E3 #6B5EE3 #AE5EE3
triadic
#6B5EE3 #E36B5E #5EE36B
tetradic
#6B5EE3 #E35E93 #D6E35E #5EE3AE
square
#6B5EE3 #E35E93 #D6E35E #5EE3AE
split-complementary
#6B5EE3 #E3AE5E #93E35E
monochromatic
#2B1DA9 #3B2ADA #6B5EE3 #9B92EC #CBC6F5
Accessibility & contrast
On white
4.84
#6B5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#6B5EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5EE3
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5EE3 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#006DE0
Tritanopia (blue-blind)
#377D97
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6b5ee3; /* rgb */ color: rgb(107, 94, 227); /* oklch */ color: oklch(56.7% 0.195 282.7);
Tailwind
colors: {
custom: {
50: '#9f8ced',
500: '#6b5ee3',
950: '#000000',
},
}SCSS
$custom: #6b5ee3; $custom-light: #9f8ced; $custom-dark: #000000;
JSON
{
"hex": "#6b5ee3",
"rgb": {
"r": 107,
"g": 94,
"b": 227
},
"hsl": {
"h": 245.865,
"s": 70.37,
"l": 62.941
},
"oklch": {
"l": 0.56712,
"c": 0.19458,
"h": 282.7
},
"luminance": 0.16677
}Semantic roles & 50–950 ramp
primary
#6B5EE3
secondary
#E2E6B6
accent
#D213C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84