#6C5AED#6C5AED
#6C5AED is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.9% C 0.212 H 282.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5AED |
|---|---|
| RGB | rgb(108, 90, 237) |
| HSL | hsl(247, 80%, 64%) |
| HSV | hsv(247, 62%, 93%) |
| CMYK | cmyk(54.4%, 62%, 0%, 7.1%) |
| CIE-LAB | lab(47.77, 46.01, -72.01) |
| CIE-LCH | lch(47.77, 85.45, 302.58°) |
| OKLab | oklab(56.9% 0.0473 -0.2068) |
| OKLCH | oklch(56.9% 0.212 282.9) |
| XYZ | xyz(25.1219, 16.6134, 81.9873) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.44
Mediumslateblue
#7B68EE
ΔE00 4.70
Purpley
#8756E4
ΔE00 4.85
Warm Blue
#4B57DB
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5AED #DBED5A
analogous
#5A92ED #6C5AED #B65AED
triadic
#6C5AED #ED6C5A #5AED6C
tetradic
#6C5AED #ED5A92 #DBED5A #5AEDB6
square
#6C5AED #ED5A92 #DBED5A #5AEDB6
split-complementary
#6C5AED #EDB65A #92ED5A
monochromatic
#2814B8 #3B23E7 #6C5AED #9D91F3 #CEC8F9
Accessibility & contrast
On white
4.86
#6C5AED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#6C5AED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5AED
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5AED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5AED | 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)
#0076F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#307E9B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6c5aed; /* rgb */ color: rgb(108, 90, 237); /* oklch */ color: oklch(56.9% 0.212 282.9);
Tailwind
colors: {
custom: {
50: '#a18af4',
500: '#6c5aed',
950: '#000000',
},
}SCSS
$custom: #6c5aed; $custom-light: #a18af4; $custom-dark: #000000;
JSON
{
"hex": "#6c5aed",
"rgb": {
"r": 108,
"g": 90,
"b": 237
},
"hsl": {
"h": 247.347,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.56901,
"c": 0.21211,
"h": 282.9
},
"luminance": 0.16615
}Semantic roles & 50–950 ramp
primary
#6C5AED
secondary
#E5EBB8
accent
#DD09C3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85