#6C5FEE#6C5FEE
#6C5FEE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.8% C 0.207 H 281.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5FEE |
|---|---|
| RGB | rgb(108, 95, 238) |
| HSL | hsl(245, 81%, 65%) |
| HSV | hsv(245, 60%, 93%) |
| CMYK | cmyk(54.6%, 60.1%, 0%, 6.7%) |
| CIE-LAB | lab(48.94, 43.43, -70.67) |
| CIE-LCH | lch(48.94, 82.95, 301.58°) |
| OKLab | oklab(57.78% 0.0425 -0.2028) |
| OKLCH | oklch(57.78% 0.207 281.8) |
| XYZ | xyz(25.7044, 17.5440, 82.9042) |
| Luminance | 0.1755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.54
Dark Periwinkle
#665FD1
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 4.96
Purpley
#8756E4
ΔE00 5.45
Warm Blue
#4B57DB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5FEE #E1EE5F
analogous
#5F99EE #6C5FEE #B45FEE
triadic
#6C5FEE #EE6C5F #5FEE6C
tetradic
#6C5FEE #EE5F99 #E1EE5F #5FEEB4
square
#6C5FEE #EE5F99 #E1EE5F #5FEEB4
split-complementary
#6C5FEE #EEB45F #99EE5F
monochromatic
#2414BE #3928E8 #6C5FEE #9F96F4 #D2CEFA
Accessibility & contrast
On white
4.66
#6C5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#6C5FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5FEE
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5FEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5FEE | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#2D819E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6c5fee; /* rgb */ color: rgb(108, 95, 238); /* oklch */ color: oklch(57.8% 0.207 281.8);
Tailwind
colors: {
custom: {
50: '#a18df4',
500: '#6c5fee',
950: '#000000',
},
}SCSS
$custom: #6c5fee; $custom-light: #a18df4; $custom-dark: #000000;
JSON
{
"hex": "#6c5fee",
"rgb": {
"r": 108,
"g": 95,
"b": 238
},
"hsl": {
"h": 245.455,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.5778,
"c": 0.20722,
"h": 281.8
},
"luminance": 0.17546
}Semantic roles & 50–950 ramp
primary
#6C5FEE
secondary
#E8ECBC
accent
#DD08CA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85