#6C5CF2#6C5CF2
#6C5CF2 is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.6% C 0.216 H 282.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5CF2 |
|---|---|
| RGB | rgb(108, 92, 242) |
| HSL | hsl(246, 85%, 65%) |
| HSV | hsv(246, 62%, 95%) |
| CMYK | cmyk(55.4%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(48.58, 46.37, -73.50) |
| CIE-LCH | lch(48.58, 86.90, 302.25°) |
| OKLab | oklab(57.61% 0.0451 -0.2111) |
| OKLCH | oklch(57.61% 0.216 282.1) |
| XYZ | xyz(26.0335, 17.2516, 85.9453) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 4.90
Purpley
#8756E4
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5CF2 #E2F25C
analogous
#5C97F2 #6C5CF2 #B75CF2
triadic
#6C5CF2 #F26C5C #5CF26C
tetradic
#6C5CF2 #F25C97 #E2F25C #5CF2B7
square
#6C5CF2 #F25C97 #E2F25C #5CF2B7
split-complementary
#6C5CF2 #F2B75C #97F25C
monochromatic
#2310C4 #3923ED #6C5CF2 #9F95F7 #D2CDFB
Accessibility & contrast
On white
4.72
#6C5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#6C5CF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5CF2
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5CF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5CF2 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#28819F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6c5cf2; /* rgb */ color: rgb(108, 92, 242); /* oklch */ color: oklch(57.6% 0.216 282.1);
Tailwind
colors: {
custom: {
50: '#a18bf7',
500: '#6c5cf2',
950: '#000000',
},
}SCSS
$custom: #6c5cf2; $custom-light: #a18bf7; $custom-dark: #000000;
JSON
{
"hex": "#6c5cf2",
"rgb": {
"r": 108,
"g": 92,
"b": 242
},
"hsl": {
"h": 246.4,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.57607,
"c": 0.21591,
"h": 282.1
},
"luminance": 0.17253
}Semantic roles & 50–950 ramp
primary
#6C5CF2
secondary
#E9EEBC
accent
#E204CA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85