#6B5CE4#6B5CE4
#6B5CE4 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.5% C 0.198 H 283.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CE4 |
|---|---|
| RGB | rgb(107, 92, 228) |
| HSL | hsl(247, 72%, 63%) |
| HSV | hsv(247, 60%, 89%) |
| CMYK | cmyk(53.1%, 59.6%, 0%, 10.6%) |
| CIE-LAB | lab(47.47, 41.97, -67.42) |
| CIE-LCH | lch(47.47, 79.42, 301.90°) |
| OKLab | oklab(56.46% 0.0446 -0.1933) |
| OKLCH | oklch(56.46% 0.198 283) |
| XYZ | xyz(23.8899, 16.3801, 75.2866) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 3.10
Slate Blue
#6A5ACD
ΔE00 3.35
Mediumslateblue
#7B68EE
ΔE00 4.72
Iris
#6258C4
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CE4 #D5E45C
analogous
#5C91E4 #6B5CE4 #AF5CE4
triadic
#6B5CE4 #E46B5C #5CE46B
tetradic
#6B5CE4 #E45C91 #D5E45C #5CE4AF
square
#6B5CE4 #E45C91 #D5E45C #5CE4AF
split-complementary
#6B5CE4 #E4AF5C #91E45C
monochromatic
#2C1CAA #3B27DB #6B5CE4 #9B91ED #CAC5F5
Accessibility & contrast
On white
4.91
#6B5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#6B5CE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CE4
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CE4 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#377C97
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6b5ce4; /* rgb */ color: rgb(107, 92, 228); /* oklch */ color: oklch(56.5% 0.198 283.0);
Tailwind
colors: {
custom: {
50: '#9f8bed',
500: '#6b5ce4',
950: '#000000',
},
}SCSS
$custom: #6b5ce4; $custom-light: #9f8bed; $custom-dark: #000000;
JSON
{
"hex": "#6b5ce4",
"rgb": {
"r": 107,
"g": 92,
"b": 228
},
"hsl": {
"h": 246.618,
"s": 71.579,
"l": 62.745
},
"oklch": {
"l": 0.56455,
"c": 0.19841,
"h": 283
},
"luminance": 0.16382
}Semantic roles & 50–950 ramp
primary
#6B5CE4
secondary
#E1E7B5
accent
#D412BE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84