#645C93#645C93
#645C93 is a mid, moderate blue. Relative luminance 0.125; OKLCH L 50.6% C 0.086 H 289.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #645C93 |
|---|---|
| RGB | rgb(100, 92, 147) |
| HSL | hsl(249, 23%, 47%) |
| HSV | hsv(249, 37%, 58%) |
| CMYK | cmyk(32%, 37.4%, 0%, 42.4%) |
| CIE-LAB | lab(41.95, 16.43, -29.13) |
| CIE-LCH | lch(41.95, 33.44, 299.42°) |
| OKLab | oklab(50.6% 0.029 -0.0813) |
| OKLCH | oklch(50.6% 0.086 289.6) |
| XYZ | xyz(14.3478, 12.4699, 29.2491) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.58
Dusk
#4E5481
ΔE00 5.78
Royal Purple
#7851A9
ΔE00 7.86
Dusky Blue
#475F94
ΔE00 8.53
Dark Lavender
#856798
ΔE00 8.95
Muted Purple
#805B87
ΔE00 9.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645C93 #8B935C
analogous
#5C7093 #645C93 #805C93
triadic
#645C93 #93645C #5C9364
tetradic
#645C93 #935C70 #8B935C #5C9380
square
#645C93 #935C70 #8B935C #5C9380
split-complementary
#645C93 #93805C #70935C
monochromatic
#312D48 #4A446D #645C93 #857EAE #A9A4C6
Accessibility & contrast
On white
6.01
#645C93 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#645C93 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645C93
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645C93 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C6495
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#596670
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #645c93; /* rgb */ color: rgb(100, 92, 147); /* oklch */ color: oklch(50.6% 0.086 289.6);
Tailwind
colors: {
custom: {
50: '#928ab3',
500: '#645c93',
950: '#000000',
},
}SCSS
$custom: #645c93; $custom-light: #928ab3; $custom-dark: #000000;
JSON
{
"hex": "#645c93",
"rgb": {
"r": 100,
"g": 92,
"b": 147
},
"hsl": {
"h": 248.727,
"s": 23.013,
"l": 46.863
},
"oklch": {
"l": 0.50599,
"c": 0.08632,
"h": 289.6
},
"luminance": 0.1247
}Semantic roles & 50–950 ramp
primary
#645C93
secondary
#B0B497
accent
#C068B3
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80