#6A5ABB#6A5ABB
#6A5ABB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.147 H 287.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5ABB |
|---|---|
| RGB | rgb(106, 90, 187) |
| HSL | hsl(250, 42%, 54%) |
| HSV | hsv(250, 52%, 73%) |
| CMYK | cmyk(43.3%, 51.9%, 0%, 26.7%) |
| CIE-LAB | lab(44.18, 30.72, -49.21) |
| CIE-LCH | lch(44.18, 58.01, 301.97°) |
| OKLab | oklab(53.13% 0.0452 -0.1398) |
| OKLCH | oklch(53.13% 0.147 287.9) |
| XYZ | xyz(18.5671, 13.9637, 48.7210) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 2.85
Light Indigo
#6D5ACF
ΔE00 3.14
Dark Periwinkle
#665FD1
ΔE00 3.97
Royal Purple
#7851A9
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5ABB #ABBB5A
analogous
#5A7BBB #6A5ABB #9B5ABB
triadic
#6A5ABB #BB6A5A #5ABB6A
tetradic
#6A5ABB #BB5A7B #ABBB5A #5ABB9B
square
#6A5ABB #BB5A7B #ABBB5A #5ABB9B
split-complementary
#6A5ABB #BB9B5A #7BBB5A
monochromatic
#382D6D #4E3F99 #6A5ABB #9185CD #B8B1DF
Accessibility & contrast
On white
5.54
#6A5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#6A5ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5ABB
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5ABB | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#526E82
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6a5abb; /* rgb */ color: rgb(106, 90, 187); /* oklch */ color: oklch(53.1% 0.147 287.9);
Tailwind
colors: {
custom: {
50: '#9989d0',
500: '#6a5abb',
950: '#000000',
},
}SCSS
$custom: #6a5abb; $custom-light: #9989d0; $custom-dark: #000000;
JSON
{
"hex": "#6a5abb",
"rgb": {
"r": 106,
"g": 90,
"b": 187
},
"hsl": {
"h": 249.897,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.53128,
"c": 0.14693,
"h": 287.9
},
"luminance": 0.13964
}Semantic roles & 50–950 ramp
primary
#6A5ABB
secondary
#C6CDA4
accent
#D156BD
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82