#6C5AEB#6C5AEB
#6C5AEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.7% C 0.210 H 283.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5AEB |
|---|---|
| RGB | rgb(108, 90, 235) |
| HSL | hsl(247, 78%, 64%) |
| HSV | hsv(247, 62%, 92%) |
| CMYK | cmyk(54%, 61.7%, 0%, 7.8%) |
| CIE-LAB | lab(47.62, 45.41, -71.12) |
| CIE-LCH | lch(47.62, 84.39, 302.56°) |
| OKLab | oklab(56.75% 0.0474 -0.2042) |
| OKLCH | oklch(56.75% 0.21 283.1) |
| XYZ | xyz(24.8313, 16.4972, 80.4570) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.18
Mediumslateblue
#7B68EE
ΔE00 4.77
Purpley
#8756E4
ΔE00 4.81
Warm Blue
#4B57DB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5AEB #D9EB5A
analogous
#5A90EB #6C5AEB #B45AEB
triadic
#6C5AEB #EB6C5A #5AEB6C
tetradic
#6C5AEB #EB5A90 #D9EB5A #5AEBB4
square
#6C5AEB #EB5A90 #D9EB5A #5AEBB4
split-complementary
#6C5AEB #EBB45A #90EB5A
monochromatic
#2A16B5 #3B23E4 #6C5AEB #9D91F2 #CDC7F8
Accessibility & contrast
On white
4.88
#6C5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#6C5AEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5AEB
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5AEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5AEB | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#327D9A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6c5aeb; /* rgb */ color: rgb(108, 90, 235); /* oklch */ color: oklch(56.7% 0.210 283.1);
Tailwind
colors: {
custom: {
50: '#a189f2',
500: '#6c5aeb',
950: '#000000',
},
}SCSS
$custom: #6c5aeb; $custom-light: #a189f2; $custom-dark: #000000;
JSON
{
"hex": "#6c5aeb",
"rgb": {
"r": 108,
"g": 90,
"b": 235
},
"hsl": {
"h": 247.448,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.56746,
"c": 0.20962,
"h": 283.1
},
"luminance": 0.16499
}Semantic roles & 50–950 ramp
primary
#6C5AEB
secondary
#E4EAB7
accent
#DB0BC1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85