#6C5DE4#6C5DE4
#6C5DE4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.7% C 0.197 H 283.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5DE4 |
|---|---|
| RGB | rgb(108, 93, 228) |
| HSL | hsl(247, 71%, 63%) |
| HSV | hsv(247, 59%, 89%) |
| CMYK | cmyk(52.6%, 59.2%, 0%, 10.6%) |
| CIE-LAB | lab(47.77, 41.57, -66.93) |
| CIE-LCH | lch(47.77, 78.79, 301.85°) |
| OKLab | oklab(56.7% 0.0449 -0.1918) |
| OKLCH | oklch(56.7% 0.197 283.2) |
| XYZ | xyz(24.0980, 16.6169, 75.3213) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 3.19
Slate Blue
#6A5ACD
ΔE00 3.45
Mediumslateblue
#7B68EE
ΔE00 4.41
Purpley
#8756E4
ΔE00 5.07
Iris
#6258C4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5DE4 #D5E45D
analogous
#5D91E4 #6C5DE4 #B05DE4
triadic
#6C5DE4 #E46C5D #5DE46C
tetradic
#6C5DE4 #E45D91 #D5E45D #5DE4B0
square
#6C5DE4 #E45D91 #D5E45D #5DE4B0
split-complementary
#6C5DE4 #E4B05D #91E45D
monochromatic
#2C1CAA #3C29DB #6C5DE4 #9C91ED #CBC6F5
Accessibility & contrast
On white
4.86
#6C5DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#6C5DE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5DE4
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5DE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5DE4 | 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)
#0076E8
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#397D98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6c5de4; /* rgb */ color: rgb(108, 93, 228); /* oklch */ color: oklch(56.7% 0.197 283.2);
Tailwind
colors: {
custom: {
50: '#9f8bed',
500: '#6c5de4',
950: '#000000',
},
}SCSS
$custom: #6c5de4; $custom-light: #9f8bed; $custom-dark: #000000;
JSON
{
"hex": "#6c5de4",
"rgb": {
"r": 108,
"g": 93,
"b": 228
},
"hsl": {
"h": 246.667,
"s": 71.429,
"l": 62.941
},
"oklch": {
"l": 0.56698,
"c": 0.197,
"h": 283.2
},
"luminance": 0.16618
}Semantic roles & 50–950 ramp
primary
#6C5DE4
secondary
#E1E7B6
accent
#D312BE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84