#6C5CBD#6C5CBD
#6C5CBD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.147 H 288.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5CBD |
|---|---|
| RGB | rgb(108, 92, 189) |
| HSL | hsl(250, 42%, 55%) |
| HSV | hsv(250, 51%, 74%) |
| CMYK | cmyk(42.9%, 51.3%, 0%, 25.9%) |
| CIE-LAB | lab(44.96, 30.57, -49.11) |
| CIE-LCH | lch(44.96, 57.85, 301.90°) |
| OKLab | oklab(53.8% 0.0454 -0.1394) |
| OKLCH | oklch(53.8% 0.147 288) |
| XYZ | xyz(19.1942, 14.5159, 49.9248) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.59
Slate Blue
#6A5ACD
ΔE00 2.68
Light Indigo
#6D5ACF
ΔE00 2.91
Dark Periwinkle
#665FD1
ΔE00 3.63
Royal Purple
#7851A9
ΔE00 6.10
Warm Blue
#4B57DB
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5CBD #ADBD5C
analogous
#5C7CBD #6C5CBD #9D5CBD
triadic
#6C5CBD #BD6C5C #5CBD6C
tetradic
#6C5CBD #BD5C7C #ADBD5C #5CBD9D
square
#6C5CBD #BD5C7C #ADBD5C #5CBD9D
split-complementary
#6C5CBD #BD9D5C #7CBD5C
monochromatic
#392E71 #4F3F9C #6C5CBD #9388CF #BBB3E0
Accessibility & contrast
On white
5.38
#6C5CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#6C5CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5CBD
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5CBD | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316DC0
Deuteranopia (green-blind)
#3168BB
Tritanopia (blue-blind)
#547084
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6c5cbd; /* rgb */ color: rgb(108, 92, 189); /* oklch */ color: oklch(53.8% 0.147 288.0);
Tailwind
colors: {
custom: {
50: '#9b8ad1',
500: '#6c5cbd',
950: '#000000',
},
}SCSS
$custom: #6c5cbd; $custom-light: #9b8ad1; $custom-dark: #000000;
JSON
{
"hex": "#6c5cbd",
"rgb": {
"r": 108,
"g": 92,
"b": 189
},
"hsl": {
"h": 249.897,
"s": 42.358,
"l": 55.098
},
"oklch": {
"l": 0.53795,
"c": 0.14664,
"h": 288
},
"luminance": 0.14517
}Semantic roles & 50–950 ramp
primary
#6C5CBD
secondary
#C8CFA6
accent
#D256BE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82