#654FD7#654FD7
#654FD7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.9% C 0.199 H 284.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #654FD7 |
|---|---|
| RGB | rgb(101, 79, 215) |
| HSL | hsl(250, 63%, 58%) |
| HSV | hsv(250, 63%, 84%) |
| CMYK | cmyk(53%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(43.16, 44.49, -67.06) |
| CIE-LCH | lch(43.16, 80.48, 303.56°) |
| OKLab | oklab(52.88% 0.0505 -0.1925) |
| OKLCH | oklch(52.88% 0.199 284.7) |
| XYZ | xyz(20.4249, 13.2638, 65.7607) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 3.46
Iris
#6258C4
ΔE00 3.79
Purpleish Blue
#6140EF
ΔE00 4.22
Bluey Purple
#6241C7
ΔE00 4.42
Warm Blue
#4B57DB
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#654FD7 #C1D74F
analogous
#4F7DD7 #654FD7 #A94FD7
triadic
#654FD7 #D7654F #4FD765
tetradic
#654FD7 #D74F7D #C1D74F #4FD7A9
square
#654FD7 #D74F7D #C1D74F #4FD7A9
split-complementary
#654FD7 #D7A94F #7DD74F
monochromatic
#31208C #432BBE #654FD7 #9181E2 #BCB3EE
Accessibility & contrast
On white
5.75
#654FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#654FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #654FD7
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##654FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##654FD7 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#0062D4
Tritanopia (blue-blind)
#35708C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #654fd7; /* rgb */ color: rgb(101, 79, 215); /* oklch */ color: oklch(52.9% 0.199 284.7);
Tailwind
colors: {
custom: {
50: '#9a81e4',
500: '#654fd7',
950: '#000000',
},
}SCSS
$custom: #654fd7; $custom-light: #9a81e4; $custom-dark: #000000;
JSON
{
"hex": "#654fd7",
"rgb": {
"r": 101,
"g": 79,
"b": 215
},
"hsl": {
"h": 249.706,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.5288,
"c": 0.19899,
"h": 284.7
},
"luminance": 0.13265
}Semantic roles & 50–950 ramp
primary
#654FD7
secondary
#D3DCA6
accent
#E642CB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84