#644ED2#644ED2
#644ED2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.194 H 285.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #644ED2 |
|---|---|
| RGB | rgb(100, 78, 210) |
| HSL | hsl(250, 59%, 56%) |
| HSV | hsv(250, 63%, 82%) |
| CMYK | cmyk(52.4%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(42.48, 43.39, -65.31) |
| CIE-LCH | lch(42.48, 78.41, 303.60°) |
| OKLab | oklab(52.24% 0.0506 -0.1873) |
| OKLCH | oklch(52.24% 0.194 285.1) |
| XYZ | xyz(19.6093, 12.8102, 62.3996) |
| Luminance | 0.1281 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.57
Iris
#6258C4
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 3.81
Purpleish Blue
#6140EF
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#644ED2 #BCD24E
analogous
#4E7AD2 #644ED2 #A64ED2
triadic
#644ED2 #D2644E #4ED264
tetradic
#644ED2 #D24E7A #BCD24E #4ED2A6
square
#644ED2 #D24E7A #BCD24E #4ED2A6
split-complementary
#644ED2 #D2A64E #7AD24E
monochromatic
#322284 #442EB5 #644ED2 #8F7FDE #B9B0EB
Accessibility & contrast
On white
5.90
#644ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#644ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #644ED2
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##644ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##644ED2 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#386E89
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #644ed2; /* rgb */ color: rgb(100, 78, 210); /* oklch */ color: oklch(52.2% 0.194 285.1);
Tailwind
colors: {
custom: {
50: '#9981e1',
500: '#644ed2',
950: '#000000',
},
}SCSS
$custom: #644ed2; $custom-light: #9981e1; $custom-dark: #000000;
JSON
{
"hex": "#644ed2",
"rgb": {
"r": 100,
"g": 78,
"b": 210
},
"hsl": {
"h": 250,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.52243,
"c": 0.19405,
"h": 285.1
},
"luminance": 0.12811
}Semantic roles & 50–950 ramp
primary
#644ED2
secondary
#D0D9A3
accent
#E345C8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83