#6C5AE2#6C5AE2
#6C5AE2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 56.1% C 0.198 H 284.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5AE2 |
|---|---|
| RGB | rgb(108, 90, 226) |
| HSL | hsl(248, 70%, 62%) |
| HSV | hsv(248, 60%, 89%) |
| CMYK | cmyk(52.2%, 60.2%, 0%, 11.4%) |
| CIE-LAB | lab(46.96, 42.72, -67.11) |
| CIE-LCH | lch(46.96, 79.55, 302.48°) |
| OKLab | oklab(56.06% 0.048 -0.1924) |
| OKLCH | oklch(56.06% 0.198 284) |
| XYZ | xyz(23.5638, 15.9902, 73.7815) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.70
Slate Blue
#6A5ACD
ΔE00 2.99
Dark Periwinkle
#665FD1
ΔE00 3.01
Iris
#6258C4
ΔE00 4.66
Purpley
#8756E4
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5AE2 #D0E25A
analogous
#5A8CE2 #6C5AE2 #B05AE2
triadic
#6C5AE2 #E26C5A #5AE26C
tetradic
#6C5AE2 #E25A8C #D0E25A #5AE2B0
square
#6C5AE2 #E25A8C #D0E25A #5AE2B0
split-complementary
#6C5AE2 #E2B05A #8CE25A
monochromatic
#2F1DA5 #3E26D9 #6C5AE2 #9A8EEB #C9C2F4
Accessibility & contrast
On white
5.00
#6C5AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#6C5AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5AE2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5AE2 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#3C7A95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6c5ae2; /* rgb */ color: rgb(108, 90, 226); /* oklch */ color: oklch(56.1% 0.198 284.0);
Tailwind
colors: {
custom: {
50: '#9f89ec',
500: '#6c5ae2',
950: '#000000',
},
}SCSS
$custom: #6c5ae2; $custom-light: #9f89ec; $custom-dark: #000000;
JSON
{
"hex": "#6c5ae2",
"rgb": {
"r": 108,
"g": 90,
"b": 226
},
"hsl": {
"h": 247.941,
"s": 70.103,
"l": 61.961
},
"oklch": {
"l": 0.56057,
"c": 0.19827,
"h": 284
},
"luminance": 0.15991
}Semantic roles & 50–950 ramp
primary
#6C5AE2
secondary
#DEE5B3
accent
#D213B9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84