#6D5CD6#6D5CD6
#6D5CD6 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.180 H 285.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6D5CD6 |
|---|---|
| RGB | rgb(109, 92, 214) |
| HSL | hsl(248, 60%, 60%) |
| HSV | hsv(248, 57%, 84%) |
| CMYK | cmyk(49.1%, 57%, 0%, 16.1%) |
| CIE-LAB | lab(46.66, 38.16, -60.78) |
| CIE-LCH | lch(46.66, 71.77, 302.12°) |
| OKLab | oklab(55.59% 0.0475 -0.1737) |
| OKLCH | oklch(55.59% 0.18 285.3) |
| XYZ | xyz(22.2678, 15.7595, 65.4738) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.22
Slate Blue
#6A5ACD
ΔE00 1.53
Dark Periwinkle
#665FD1
ΔE00 1.82
Iris
#6258C4
ΔE00 3.42
Purpley
#8756E4
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D5CD6 #C5D65C
analogous
#5C88D6 #6D5CD6 #AA5CD6
triadic
#6D5CD6 #D66D5C #5CD66D
tetradic
#6D5CD6 #D65C88 #C5D65C #5CD6AA
square
#6D5CD6 #D65C88 #C5D65C #5CD6AA
split-complementary
#6D5CD6 #D6AA5C #88D65C
monochromatic
#342593 #4631C4 #6D5CD6 #998DE2 #C5BEEF
Accessibility & contrast
On white
5.06
#6D5CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#6D5CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D5CD6
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D5CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D5CD6 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#477890
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6d5cd6; /* rgb */ color: rgb(109, 92, 214); /* oklch */ color: oklch(55.6% 0.180 285.3);
Tailwind
colors: {
custom: {
50: '#9e8be3',
500: '#6d5cd6',
950: '#000000',
},
}SCSS
$custom: #6d5cd6; $custom-light: #9e8be3; $custom-dark: #000000;
JSON
{
"hex": "#6d5cd6",
"rgb": {
"r": 109,
"g": 92,
"b": 214
},
"hsl": {
"h": 248.361,
"s": 59.804,
"l": 60
},
"oklch": {
"l": 0.55589,
"c": 0.18009,
"h": 285.3
},
"luminance": 0.15761
}Semantic roles & 50–950 ramp
primary
#6D5CD6
secondary
#D8DEAF
accent
#E345CD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84