#6C5CE5#6C5CE5
#6C5CE5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.6% C 0.200 H 283.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5CE5 |
|---|---|
| RGB | rgb(108, 92, 229) |
| HSL | hsl(247, 72%, 63%) |
| HSV | hsv(247, 60%, 90%) |
| CMYK | cmyk(52.8%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(47.62, 42.46, -67.74) |
| CIE-LCH | lch(47.62, 79.94, 302.08°) |
| OKLab | oklab(56.61% 0.0458 -0.1942) |
| OKLCH | oklch(56.61% 0.2 283.3) |
| XYZ | xyz(24.1500, 16.4982, 76.0255) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.12
Light Indigo
#6D5ACF
ΔE00 3.22
Slate Blue
#6A5ACD
ΔE00 3.50
Mediumslateblue
#7B68EE
ΔE00 4.58
Purpley
#8756E4
ΔE00 4.95
Iris
#6258C4
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5CE5 #D5E55C
analogous
#5C91E5 #6C5CE5 #B05CE5
triadic
#6C5CE5 #E56C5C #5CE56C
tetradic
#6C5CE5 #E55C91 #D5E55C #5CE5B0
square
#6C5CE5 #E55C91 #D5E55C #5CE5B0
split-complementary
#6C5CE5 #E5B05C #91E55C
monochromatic
#2C1BAB #3C27DD #6C5CE5 #9C91ED #CBC6F6
Accessibility & contrast
On white
4.88
#6C5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#6C5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5CE5
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5CE5 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#387D98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6c5ce5; /* rgb */ color: rgb(108, 92, 229); /* oklch */ color: oklch(56.6% 0.200 283.3);
Tailwind
colors: {
custom: {
50: '#a08bee',
500: '#6c5ce5',
950: '#000000',
},
}SCSS
$custom: #6c5ce5; $custom-light: #a08bee; $custom-dark: #000000;
JSON
{
"hex": "#6c5ce5",
"rgb": {
"r": 108,
"g": 92,
"b": 229
},
"hsl": {
"h": 247.007,
"s": 72.487,
"l": 62.941
},
"oklch": {
"l": 0.56609,
"c": 0.19956,
"h": 283.3
},
"luminance": 0.165
}Semantic roles & 50–950 ramp
primary
#6C5CE5
secondary
#E1E7B6
accent
#D511BE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84