#6C5BCD#6C5BCD
#6C5BCD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.170 H 286.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5BCD |
|---|---|
| RGB | rgb(108, 91, 205) |
| HSL | hsl(249, 53%, 58%) |
| HSV | hsv(249, 56%, 80%) |
| CMYK | cmyk(47.3%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(45.74, 35.87, -57.11) |
| CIE-LCH | lch(45.74, 67.44, 302.13°) |
| OKLab | oklab(54.7% 0.0473 -0.163) |
| OKLCH | oklch(54.7% 0.17 286.2) |
| XYZ | xyz(20.9417, 15.0772, 59.5525) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.46
Light Indigo
#6D5ACF
ΔE00 0.47
Dark Periwinkle
#665FD1
ΔE00 1.94
Iris
#6258C4
ΔE00 2.33
Warm Blue
#4B57DB
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5BCD #BCCD5B
analogous
#5B83CD #6C5BCD #A55BCD
triadic
#6C5BCD #CD6C5B #5BCD6C
tetradic
#6C5BCD #CD5B83 #BCCD5B #5BCDA5
square
#6C5BCD #CD5B83 #BCCD5B #5BCDA5
split-complementary
#6C5BCD #CDA55B #83CD5B
monochromatic
#362985 #4A37B4 #6C5BCD #968ADB #C0B9EA
Accessibility & contrast
On white
5.23
#6C5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6C5BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5BCD
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5BCD | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#1269CB
Tritanopia (blue-blind)
#4B748B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6c5bcd; /* rgb */ color: rgb(108, 91, 205); /* oklch */ color: oklch(54.7% 0.170 286.2);
Tailwind
colors: {
custom: {
50: '#9d8add',
500: '#6c5bcd',
950: '#000000',
},
}SCSS
$custom: #6c5bcd; $custom-light: #9d8add; $custom-dark: #000000;
JSON
{
"hex": "#6c5bcd",
"rgb": {
"r": 108,
"g": 91,
"b": 205
},
"hsl": {
"h": 248.947,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.54698,
"c": 0.16968,
"h": 286.2
},
"luminance": 0.15078
}Semantic roles & 50–950 ramp
primary
#6C5BCD
secondary
#D2D9AB
accent
#DD4BC7
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83