#6A5AC7#6A5AC7
#6A5AC7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.163 H 286.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5AC7 |
|---|---|
| RGB | rgb(106, 90, 199) |
| HSL | hsl(249, 49%, 57%) |
| HSV | hsv(249, 55%, 78%) |
| CMYK | cmyk(46.7%, 54.8%, 0%, 22%) |
| CIE-LAB | lab(44.94, 34.25, -54.95) |
| CIE-LCH | lch(44.94, 64.75, 301.94°) |
| OKLab | oklab(53.94% 0.0458 -0.1567) |
| OKLCH | oklch(53.94% 0.163 286.3) |
| XYZ | xyz(19.9058, 14.4992, 55.7715) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.91
Light Indigo
#6D5ACF
ΔE00 1.30
Iris
#6258C4
ΔE00 1.59
Dark Periwinkle
#665FD1
ΔE00 2.44
Warm Blue
#4B57DB
ΔE00 5.53
Purpley
#8756E4
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5AC7 #B7C75A
analogous
#5A81C7 #6A5AC7 #A15AC7
triadic
#6A5AC7 #C76A5A #5AC76A
tetradic
#6A5AC7 #C75A81 #B7C75A #5AC7A1
square
#6A5AC7 #C75A81 #B7C75A #5AC7A1
split-complementary
#6A5AC7 #C7A15A #81C75A
monochromatic
#362A7C #4A3AAA #6A5AC7 #9388D7 #BDB5E6
Accessibility & contrast
On white
5.38
#6A5AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#6A5AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5AC7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5AC7 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6DCB
Deuteranopia (green-blind)
#1B67C5
Tritanopia (blue-blind)
#4B7288
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a5ac7; /* rgb */ color: rgb(106, 90, 199); /* oklch */ color: oklch(53.9% 0.163 286.3);
Tailwind
colors: {
custom: {
50: '#9b89d9',
500: '#6a5ac7',
950: '#000000',
},
}SCSS
$custom: #6a5ac7; $custom-light: #9b89d9; $custom-dark: #000000;
JSON
{
"hex": "#6a5ac7",
"rgb": {
"r": 106,
"g": 90,
"b": 199
},
"hsl": {
"h": 248.807,
"s": 49.321,
"l": 56.667
},
"oklch": {
"l": 0.53937,
"c": 0.16322,
"h": 286.3
},
"luminance": 0.145
}Semantic roles & 50–950 ramp
primary
#6A5AC7
secondary
#CED5A8
accent
#D94FC5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0B15
muted
#7E7C83