#6A5FE7#6A5FE7
#6A5FE7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.1% C 0.199 H 281.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FE7 |
|---|---|
| RGB | rgb(106, 95, 231) |
| HSL | hsl(245, 74%, 64%) |
| HSV | hsv(245, 59%, 91%) |
| CMYK | cmyk(54.1%, 58.9%, 0%, 9.4%) |
| CIE-LAB | lab(48.28, 40.94, -67.80) |
| CIE-LCH | lch(48.28, 79.21, 301.13°) |
| OKLab | oklab(57.1% 0.0403 -0.1945) |
| OKLCH | oklch(57.1% 0.199 281.7) |
| XYZ | xyz(24.4554, 17.0166, 77.5817) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.17
Light Indigo
#6D5ACF
ΔE00 3.86
Mediumslateblue
#7B68EE
ΔE00 4.03
Slate Blue
#6A5ACD
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 5.40
Iris
#6258C4
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FE7 #DCE75F
analogous
#5F98E7 #6A5FE7 #AE5FE7
triadic
#6A5FE7 #E76A5F #5FE76A
tetradic
#6A5FE7 #E75F98 #DCE75F #5FE7AE
square
#6A5FE7 #E75F98 #DCE75F #5FE7AE
split-complementary
#6A5FE7 #E7AE5F #98E75F
monochromatic
#271BB1 #382ADF #6A5FE7 #9C94EF #CDC9F7
Accessibility & contrast
On white
4.77
#6A5FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#6A5FE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5FE7
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5FE7 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#307F9A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6a5fe7; /* rgb */ color: rgb(106, 95, 231); /* oklch */ color: oklch(57.1% 0.199 281.7);
Tailwind
colors: {
custom: {
50: '#9f8def',
500: '#6a5fe7',
950: '#000000',
},
}SCSS
$custom: #6a5fe7; $custom-light: #9f8def; $custom-dark: #000000;
JSON
{
"hex": "#6a5fe7",
"rgb": {
"r": 106,
"g": 95,
"b": 231
},
"hsl": {
"h": 244.853,
"s": 73.913,
"l": 63.922
},
"oklch": {
"l": 0.571,
"c": 0.19859,
"h": 281.7
},
"luminance": 0.17018
}Semantic roles & 50–950 ramp
primary
#6A5FE7
secondary
#E5E9B9
accent
#D60FC6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85