#6D5AE3#6D5AE3
#6D5AE3 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 56.2% C 0.199 H 284.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #6D5AE3 |
|---|---|
| RGB | rgb(109, 90, 227) |
| HSL | hsl(248, 71%, 62%) |
| HSV | hsv(248, 60%, 89%) |
| CMYK | cmyk(52%, 60.4%, 0%, 11%) |
| CIE-LAB | lab(47.12, 43.20, -67.42) |
| CIE-LCH | lch(47.12, 80.08, 302.65°) |
| OKLab | oklab(56.21% 0.0492 -0.1933) |
| OKLCH | oklch(56.21% 0.199 284.3) |
| XYZ | xyz(23.8238, 16.1083, 74.5120) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.83
Slate Blue
#6A5ACD
ΔE00 3.15
Dark Periwinkle
#665FD1
ΔE00 3.18
Purpley
#8756E4
ΔE00 4.63
Iris
#6258C4
ΔE00 4.85
Mediumslateblue
#7B68EE
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D5AE3 #D0E35A
analogous
#5A8CE3 #6D5AE3 #B15AE3
triadic
#6D5AE3 #E36D5A #5AE36D
tetradic
#6D5AE3 #E35A8C #D0E35A #5AE3B1
square
#6D5AE3 #E35A8C #D0E35A #5AE3B1
split-complementary
#6D5AE3 #E3B15A #8CE35A
monochromatic
#2F1CA6 #3F26DA #6D5AE3 #9B8EEC #CAC3F5
Accessibility & contrast
On white
4.97
#6D5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#6D5AE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D5AE3
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D5AE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D5AE3 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#3D7B96
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #6d5ae3; /* rgb */ color: rgb(109, 90, 227); /* oklch */ color: oklch(56.2% 0.199 284.3);
Tailwind
colors: {
custom: {
50: '#a089ed',
500: '#6d5ae3',
950: '#000000',
},
}SCSS
$custom: #6d5ae3; $custom-light: #a089ed; $custom-dark: #000000;
JSON
{
"hex": "#6d5ae3",
"rgb": {
"r": 109,
"g": 90,
"b": 227
},
"hsl": {
"h": 248.321,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.56214,
"c": 0.19943,
"h": 284.3
},
"luminance": 0.1611
}Semantic roles & 50–950 ramp
primary
#6D5AE3
secondary
#DFE6B3
accent
#D312B8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84