#645ED6#645ED6
#645ED6 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.2% C 0.179 H 281.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #645ED6 |
|---|---|
| RGB | rgb(100, 94, 214) |
| HSL | hsl(243, 59%, 60%) |
| HSV | hsv(243, 56%, 84%) |
| CMYK | cmyk(53.3%, 56.1%, 0%, 16.1%) |
| CIE-LAB | lab(46.40, 35.16, -61.23) |
| CIE-LCH | lch(46.40, 70.60, 299.87°) |
| OKLab | oklab(55.22% 0.0342 -0.1753) |
| OKLCH | oklch(55.22% 0.179 281.1) |
| XYZ | xyz(21.3921, 15.5685, 65.4831) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.83
Slate Blue
#6A5ACD
ΔE00 2.24
Light Indigo
#6D5ACF
ΔE00 2.45
Iris
#6258C4
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 3.99
Mediumslateblue
#7B68EE
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645ED6 #D0D65E
analogous
#5E94D6 #645ED6 #A05ED6
triadic
#645ED6 #D6645E #5ED664
tetradic
#645ED6 #D65E94 #D0D65E #5ED6A0
square
#645ED6 #D65E94 #D0D65E #5ED6A0
split-complementary
#645ED6 #D6A05E #94D65E
monochromatic
#2B2694 #3932C5 #645ED6 #938FE2 #C2C0EF
Accessibility & contrast
On white
5.10
#645ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#645ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645ED6
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645ED6 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#317A91
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645ed6; /* rgb */ color: rgb(100, 94, 214); /* oklch */ color: oklch(55.2% 0.179 281.1);
Tailwind
colors: {
custom: {
50: '#998ce3',
500: '#645ed6',
950: '#000000',
},
}SCSS
$custom: #645ed6; $custom-light: #998ce3; $custom-dark: #000000;
JSON
{
"hex": "#645ed6",
"rgb": {
"r": 100,
"g": 94,
"b": 214
},
"hsl": {
"h": 243,
"s": 59.406,
"l": 60.392
},
"oklch": {
"l": 0.55221,
"c": 0.17859,
"h": 281.1
},
"luminance": 0.1557
}Semantic roles & 50–950 ramp
primary
#645ED6
secondary
#DDDFB1
accent
#C71EBF
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84