#6C5CD2#6C5CD2
#6C5CD2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.175 H 285.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5CD2 |
|---|---|
| RGB | rgb(108, 92, 210) |
| HSL | hsl(248, 57%, 59%) |
| HSV | hsv(248, 56%, 82%) |
| CMYK | cmyk(48.6%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(46.30, 36.76, -59.07) |
| CIE-LCH | lch(46.30, 69.57, 301.90°) |
| OKLab | oklab(55.22% 0.0462 -0.1687) |
| OKLCH | oklch(55.22% 0.175 285.3) |
| XYZ | xyz(21.6409, 15.4946, 62.8107) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 0.82
Slate Blue
#6A5ACD
ΔE00 1.00
Dark Periwinkle
#665FD1
ΔE00 1.57
Iris
#6258C4
ΔE00 2.89
Warm Blue
#4B57DB
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5CD2 #C2D25C
analogous
#5C87D2 #6C5CD2 #A75CD2
triadic
#6C5CD2 #D26C5C #5CD26C
tetradic
#6C5CD2 #D25C87 #C2D25C #5CD2A7
square
#6C5CD2 #D25C87 #C2D25C #5CD2A7
split-complementary
#6C5CD2 #D2A75C #87D25C
monochromatic
#35278D #4734BD #6C5CD2 #978CDF #C3BCEC
Accessibility & contrast
On white
5.12
#6C5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6C5CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5CD2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5CD2 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#016ACF
Tritanopia (blue-blind)
#48778E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6c5cd2; /* rgb */ color: rgb(108, 92, 210); /* oklch */ color: oklch(55.2% 0.175 285.3);
Tailwind
colors: {
custom: {
50: '#9d8ae0',
500: '#6c5cd2',
950: '#000000',
},
}SCSS
$custom: #6c5cd2; $custom-light: #9d8ae0; $custom-dark: #000000;
JSON
{
"hex": "#6c5cd2",
"rgb": {
"r": 108,
"g": 92,
"b": 210
},
"hsl": {
"h": 248.136,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.55221,
"c": 0.17492,
"h": 285.3
},
"luminance": 0.15496
}Semantic roles & 50–950 ramp
primary
#6C5CD2
secondary
#D6DCAE
accent
#E048CB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83