#6A5FF2#6A5FF2
#6A5FF2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.9% C 0.213 H 280.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FF2 |
|---|---|
| RGB | rgb(106, 95, 242) |
| HSL | hsl(244, 85%, 66%) |
| HSV | hsv(244, 61%, 95%) |
| CMYK | cmyk(56.2%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(49.08, 44.31, -72.69) |
| CIE-LCH | lch(49.08, 85.13, 301.36°) |
| OKLab | oklab(57.94% 0.0399 -0.2088) |
| OKLCH | oklch(57.94% 0.213 280.8) |
| XYZ | xyz(26.0581, 17.6577, 86.0223) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.68
Dark Periwinkle
#665FD1
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.44
Purpley
#8756E4
ΔE00 5.83
Warm Blue
#4B57DB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FF2 #E7F25F
analogous
#5F9DF2 #6A5FF2 #B35FF2
triadic
#6A5FF2 #F26A5F #5FF26A
tetradic
#6A5FF2 #F25F9D #E7F25F #5FF2B3
square
#6A5FF2 #F25F9D #E7F25F #5FF2B3
split-complementary
#6A5FF2 #F2B35F #9DF25F
monochromatic
#1E10C6 #3526ED #6A5FF2 #9F98F7 #D3D0FB
Accessibility & contrast
On white
4.63
#6A5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#6A5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5FF2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5FF2 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#1F83A0
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6a5ff2; /* rgb */ color: rgb(106, 95, 242); /* oklch */ color: oklch(57.9% 0.213 280.8);
Tailwind
colors: {
custom: {
50: '#a08df7',
500: '#6a5ff2',
950: '#000000',
},
}SCSS
$custom: #6a5ff2; $custom-light: #a08df7; $custom-dark: #000000;
JSON
{
"hex": "#6a5ff2",
"rgb": {
"r": 106,
"g": 95,
"b": 242
},
"hsl": {
"h": 244.49,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.57936,
"c": 0.21258,
"h": 280.8
},
"luminance": 0.17659
}Semantic roles & 50–950 ramp
primary
#6A5FF2
secondary
#EBEFBE
accent
#E104D1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85