#645AAA#645AAA
#645AAA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.123 H 287.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #645AAA |
|---|---|
| RGB | rgb(100, 90, 170) |
| HSL | hsl(248, 32%, 51%) |
| HSV | hsv(248, 47%, 67%) |
| CMYK | cmyk(41.2%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(42.65, 24.23, -41.72) |
| CIE-LCH | lch(42.65, 48.25, 300.15°) |
| OKLab | oklab(51.52% 0.036 -0.118) |
| OKLCH | oklch(51.52% 0.123 287) |
| XYZ | xyz(16.1654, 12.9234, 39.6651) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 5.93
Light Indigo
#6D5ACF
ΔE00 6.13
Dark Periwinkle
#665FD1
ΔE00 6.44
Twilight
#4E518B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645AAA #A0AA5A
analogous
#5A78AA #645AAA #8C5AAA
triadic
#645AAA #AA645A #5AAA64
tetradic
#645AAA #AA5A78 #A0AA5A #5AAA8C
square
#645AAA #AA5A78 #A0AA5A #5AAA8C
split-complementary
#645AAA #AA8C5A #78AA5A
monochromatic
#342F5B #4C4483 #645AAA #8A82BF #B0ABD4
Accessibility & contrast
On white
5.86
#645AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#645AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645AAA
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645AAA | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C67AD
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#506A7A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645aaa; /* rgb */ color: rgb(100, 90, 170); /* oklch */ color: oklch(51.5% 0.123 287.0);
Tailwind
colors: {
custom: {
50: '#9488c4',
500: '#645aaa',
950: '#000000',
},
}SCSS
$custom: #645aaa; $custom-light: #9488c4; $custom-dark: #000000;
JSON
{
"hex": "#645aaa",
"rgb": {
"r": 100,
"g": 90,
"b": 170
},
"hsl": {
"h": 247.5,
"s": 32,
"l": 50.98
},
"oklch": {
"l": 0.51523,
"c": 0.12337,
"h": 287
},
"luminance": 0.12924
}Semantic roles & 50–950 ramp
primary
#645AAA
secondary
#BDC29E
accent
#C860BB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81