#6C5FF2#6C5FF2
#6C5FF2 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 58.1% C 0.212 H 281.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5FF2 |
|---|---|
| RGB | rgb(108, 95, 242) |
| HSL | hsl(245, 85%, 66%) |
| HSV | hsv(245, 61%, 95%) |
| CMYK | cmyk(55.4%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(49.23, 44.65, -72.43) |
| CIE-LCH | lch(49.23, 85.09, 301.65°) |
| OKLab | oklab(58.09% 0.0423 -0.208) |
| OKLCH | oklch(58.09% 0.212 281.5) |
| XYZ | xyz(26.2986, 17.7817, 86.0336) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.47
Dark Periwinkle
#665FD1
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.47
Purpley
#8756E4
ΔE00 5.58
Warm Blue
#4B57DB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5FF2 #E5F25F
analogous
#5F9BF2 #6C5FF2 #B55FF2
triadic
#6C5FF2 #F26C5F #5FF26C
tetradic
#6C5FF2 #F25F9B #E5F25F #5FF2B5
square
#6C5FF2 #F25F9B #E5F25F #5FF2B5
split-complementary
#6C5FF2 #F2B55F #9BF25F
monochromatic
#2010C6 #3826ED #6C5FF2 #A098F7 #D4D0FB
Accessibility & contrast
On white
4.61
#6C5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#6C5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5FF2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5FF2 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#2883A0
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6c5ff2; /* rgb */ color: rgb(108, 95, 242); /* oklch */ color: oklch(58.1% 0.212 281.5);
Tailwind
colors: {
custom: {
50: '#a18df7',
500: '#6c5ff2',
950: '#000000',
},
}SCSS
$custom: #6c5ff2; $custom-light: #a18df7; $custom-dark: #000000;
JSON
{
"hex": "#6c5ff2",
"rgb": {
"r": 108,
"g": 95,
"b": 242
},
"hsl": {
"h": 245.306,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.58085,
"c": 0.21226,
"h": 281.5
},
"luminance": 0.17783
}Semantic roles & 50–950 ramp
primary
#6C5FF2
secondary
#EAEFBE
accent
#E104CE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85