#6D5EF2#6D5EF2
#6D5EF2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 58.0% C 0.213 H 282.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #6D5EF2 |
|---|---|
| RGB | rgb(109, 94, 242) |
| HSL | hsl(246, 85%, 66%) |
| HSV | hsv(246, 61%, 95%) |
| CMYK | cmyk(55%, 61.2%, 0%, 5.1%) |
| CIE-LAB | lab(49.09, 45.40, -72.66) |
| CIE-LCH | lch(49.09, 85.67, 302.00°) |
| OKLab | oklab(58% 0.0445 -0.2086) |
| OKLCH | oklch(58% 0.213 282) |
| XYZ | xyz(26.3314, 17.6658, 86.0095) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 4.70
Light Indigo
#6D5ACF
ΔE00 5.09
Purpley
#8756E4
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.38
Warm Blue
#4B57DB
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D5EF2 #E3F25E
analogous
#5E99F2 #6D5EF2 #B75EF2
triadic
#6D5EF2 #F26D5E #5EF26D
tetradic
#6D5EF2 #F25E99 #E3F25E #5EF2B7
square
#6D5EF2 #F25E99 #E3F25E #5EF2B7
split-complementary
#6D5EF2 #F2B75E #99F25E
monochromatic
#2210C6 #3A25ED #6D5EF2 #A097F7 #D4CFFB
Accessibility & contrast
On white
4.63
#6D5EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#6D5EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #6D5EF2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D5EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D5EF2 | 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)
#2C829F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #6d5ef2; /* rgb */ color: rgb(109, 94, 242); /* oklch */ color: oklch(58.0% 0.213 282.0);
Tailwind
colors: {
custom: {
50: '#a28cf7',
500: '#6d5ef2',
950: '#000000',
},
}SCSS
$custom: #6d5ef2; $custom-light: #a28cf7; $custom-dark: #000000;
JSON
{
"hex": "#6d5ef2",
"rgb": {
"r": 109,
"g": 94,
"b": 242
},
"hsl": {
"h": 246.081,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.58001,
"c": 0.21334,
"h": 282
},
"luminance": 0.17667
}Semantic roles & 50–950 ramp
primary
#6D5EF2
secondary
#E9EEBD
accent
#E204CB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85