#645BAD#645BAD
#645BAD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.126 H 286.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #645BAD |
|---|---|
| RGB | rgb(100, 91, 173) |
| HSL | hsl(247, 33%, 52%) |
| HSV | hsv(247, 47%, 68%) |
| CMYK | cmyk(42.2%, 47.4%, 0%, 32.2%) |
| CIE-LAB | lab(43.08, 24.50, -42.81) |
| CIE-LCH | lch(43.08, 49.33, 299.78°) |
| OKLab | oklab(51.9% 0.0351 -0.1212) |
| OKLCH | oklch(51.9% 0.126 286.1) |
| XYZ | xyz(16.5373, 13.2080, 41.2051) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.23
Twilight
#4E518B
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BAD #A4AD5B
analogous
#5B7BAD #645BAD #8D5BAD
triadic
#645BAD #AD645B #5BAD64
tetradic
#645BAD #AD5B7B #A4AD5B #5BAD8D
square
#645BAD #AD5B7B #A4AD5B #5BAD8D
split-complementary
#645BAD #AD8D5B #7BAD5B
monochromatic
#342F5E #4B4487 #645BAD #8B84C1 #B1ADD6
Accessibility & contrast
On white
5.77
#645BAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#645BAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BAD
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BAD | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#3963AB
Tritanopia (blue-blind)
#4F6C7C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #645bad; /* rgb */ color: rgb(100, 91, 173); /* oklch */ color: oklch(51.9% 0.126 286.1);
Tailwind
colors: {
custom: {
50: '#9489c6',
500: '#645bad',
950: '#000000',
},
}SCSS
$custom: #645bad; $custom-light: #9489c6; $custom-dark: #000000;
JSON
{
"hex": "#645bad",
"rgb": {
"r": 100,
"g": 91,
"b": 173
},
"hsl": {
"h": 246.585,
"s": 33.333,
"l": 51.765
},
"oklch": {
"l": 0.51901,
"c": 0.12615,
"h": 286.1
},
"luminance": 0.13209
}Semantic roles & 50–950 ramp
primary
#645BAD
secondary
#C0C4A0
accent
#C95EBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82