#645FA7#645FA7
#645FA7 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.3% C 0.111 H 285.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #645FA7 |
|---|---|
| RGB | rgb(100, 95, 167) |
| HSL | hsl(244, 29%, 51%) |
| HSV | hsv(244, 43%, 65%) |
| CMYK | cmyk(40.1%, 43.1%, 0%, 34.5%) |
| CIE-LAB | lab(43.78, 20.26, -38.16) |
| CIE-LCH | lch(43.78, 43.20, 297.96°) |
| OKLab | oklab(52.32% 0.0289 -0.1076) |
| OKLCH | oklch(52.32% 0.111 285) |
| XYZ | xyz(16.3208, 13.6832, 38.3329) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.73
Twilight
#4E518B
ΔE00 6.74
Slate Blue
#6A5ACD
ΔE00 6.75
Dark Periwinkle
#665FD1
ΔE00 6.95
Light Indigo
#6D5ACF
ΔE00 7.11
Royal Purple
#7851A9
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FA7 #A2A75F
analogous
#5F7EA7 #645FA7 #885FA7
triadic
#645FA7 #A7645F #5FA764
tetradic
#645FA7 #A75F7E #A2A75F #5FA788
square
#645FA7 #A75F7E #A2A75F #5FA788
split-complementary
#645FA7 #A7885F #7EA75F
monochromatic
#34325A #4B4782 #645FA7 #8A86BD #B1AED2
Accessibility & contrast
On white
5.62
#645FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#645FA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FA7
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FA7 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466AAA
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#516D7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645fa7; /* rgb */ color: rgb(100, 95, 167); /* oklch */ color: oklch(52.3% 0.111 285.0);
Tailwind
colors: {
custom: {
50: '#938cc1',
500: '#645fa7',
950: '#000000',
},
}SCSS
$custom: #645fa7; $custom-light: #938cc1; $custom-dark: #000000;
JSON
{
"hex": "#645fa7",
"rgb": {
"r": 100,
"g": 95,
"b": 167
},
"hsl": {
"h": 244.167,
"s": 29.032,
"l": 51.373
},
"oklch": {
"l": 0.52323,
"c": 0.11138,
"h": 285
},
"luminance": 0.13684
}Semantic roles & 50–950 ramp
primary
#645FA7
secondary
#BFC1A1
accent
#C562BE
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81