#6A5FFB#6A5FFB
#6A5FFB is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.6% C 0.224 H 280.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5FFB |
|---|---|
| RGB | rgb(106, 95, 251) |
| HSL | hsl(244, 95%, 68%) |
| HSV | hsv(244, 62%, 98%) |
| CMYK | cmyk(57.8%, 62.2%, 0%, 1.6%) |
| CIE-LAB | lab(49.75, 47.06, -76.61) |
| CIE-LCH | lch(49.75, 89.91, 301.56°) |
| OKLab | oklab(58.64% 0.0393 -0.2203) |
| OKLCH | oklch(58.64% 0.224 280.1) |
| XYZ | xyz(27.4432, 18.2117, 93.3172) |
| Luminance | 0.1821 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.74
Dark Periwinkle
#665FD1
ΔE00 5.71
Purpley
#8756E4
ΔE00 6.20
Light Indigo
#6D5ACF
ΔE00 6.29
Slate Blue
#6A5ACD
ΔE00 6.55
Warm Blue
#4B57DB
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5FFB #F0FB5F
analogous
#5FA2FB #6A5FFB #B85FFB
triadic
#6A5FFB #FB6A5F #5FFB6A
tetradic
#6A5FFB #FB5FA2 #F0FB5F #5FFBB8
square
#6A5FFB #FB5FA2 #F0FB5F #5FFBB8
split-complementary
#6A5FFB #FBB85F #A2FB5F
monochromatic
#1405DA #3223FA #6A5FFB #A29BFC #D9D6FE
Accessibility & contrast
On white
4.52
#6A5FFB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#6A5FFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6A5FFB
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6A5FFB | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0070F8
Tritanopia (blue-blind)
#0086A4
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #6a5ffb; /* rgb */ color: rgb(106, 95, 251); /* oklch */ color: oklch(58.6% 0.224 280.1);
Tailwind
colors: {
custom: {
50: '#a18dfe',
500: '#6a5ffb',
950: '#000000',
},
}SCSS
$custom: #6a5ffb; $custom-light: #a18dfe; $custom-dark: #000000;
JSON
{
"hex": "#6a5ffb",
"rgb": {
"r": 106,
"g": 95,
"b": 251
},
"hsl": {
"h": 244.231,
"s": 95.122,
"l": 67.843
},
"oklch": {
"l": 0.58639,
"c": 0.22382,
"h": 280.1
},
"luminance": 0.18214
}Semantic roles & 50–950 ramp
primary
#6A5FFB
secondary
#F0F3C3
accent
#E600D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86