#6D5CE5#6D5CE5
#6D5CE5 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.7% C 0.199 H 283.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6D5CE5 |
|---|---|
| RGB | rgb(109, 92, 229) |
| HSL | hsl(247, 72%, 63%) |
| HSV | hsv(247, 60%, 90%) |
| CMYK | cmyk(52.4%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(47.70, 42.64, -67.60) |
| CIE-LCH | lch(47.70, 79.93, 302.24°) |
| OKLab | oklab(56.69% 0.0471 -0.1938) |
| OKLCH | oklch(56.69% 0.199 283.7) |
| XYZ | xyz(24.2724, 16.5613, 76.0312) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 3.52
Mediumslateblue
#7B68EE
ΔE00 4.49
Purpley
#8756E4
ΔE00 4.79
Iris
#6258C4
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D5CE5 #D4E55C
analogous
#5C8FE5 #6D5CE5 #B15CE5
triadic
#6D5CE5 #E56D5C #5CE56D
tetradic
#6D5CE5 #E55C8F #D4E55C #5CE5B1
square
#6D5CE5 #E55C8F #D4E55C #5CE5B1
split-complementary
#6D5CE5 #E5B15C #8FE55C
monochromatic
#2D1BAB #3E27DD #6D5CE5 #9C91ED #CCC6F6
Accessibility & contrast
On white
4.87
#6D5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#6D5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D5CE5
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D5CE5 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#3B7C98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6d5ce5; /* rgb */ color: rgb(109, 92, 229); /* oklch */ color: oklch(56.7% 0.199 283.7);
Tailwind
colors: {
custom: {
50: '#a08bee',
500: '#6d5ce5',
950: '#000000',
},
}SCSS
$custom: #6d5ce5; $custom-light: #a08bee; $custom-dark: #000000;
JSON
{
"hex": "#6d5ce5",
"rgb": {
"r": 109,
"g": 92,
"b": 229
},
"hsl": {
"h": 247.445,
"s": 72.487,
"l": 62.941
},
"oklch": {
"l": 0.56689,
"c": 0.19943,
"h": 283.7
},
"luminance": 0.16563
}Semantic roles & 50–950 ramp
primary
#6D5CE5
secondary
#E1E7B6
accent
#D511BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84