#6B5CE6#6B5CE6
#6B5CE6 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.201 H 282.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CE6 |
|---|---|
| RGB | rgb(107, 92, 230) |
| HSL | hsl(247, 73%, 63%) |
| HSV | hsv(247, 60%, 90%) |
| CMYK | cmyk(53.5%, 60%, 0%, 9.8%) |
| CIE-LAB | lab(47.61, 42.58, -68.32) |
| CIE-LCH | lch(47.61, 80.50, 301.93°) |
| OKLab | oklab(56.61% 0.0446 -0.196) |
| OKLCH | oklch(56.61% 0.201 282.8) |
| XYZ | xyz(24.1691, 16.4918, 76.7573) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.18
Light Indigo
#6D5ACF
ΔE00 3.36
Slate Blue
#6A5ACD
ΔE00 3.61
Mediumslateblue
#7B68EE
ΔE00 4.61
Purpley
#8756E4
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CE6 #D7E65C
analogous
#5C92E6 #6B5CE6 #B05CE6
triadic
#6B5CE6 #E66B5C #5CE66B
tetradic
#6B5CE6 #E65C92 #D7E65C #5CE6B0
square
#6B5CE6 #E65C92 #D7E65C #5CE6B0
split-complementary
#6B5CE6 #E6B05C #92E65C
monochromatic
#2A1BAD #3B27DE #6B5CE6 #9B91EE #CBC6F6
Accessibility & contrast
On white
4.89
#6B5CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#6B5CE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CE6
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CE6 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#347D98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #6b5ce6; /* rgb */ color: rgb(107, 92, 230); /* oklch */ color: oklch(56.6% 0.201 282.8);
Tailwind
colors: {
custom: {
50: '#9f8bef',
500: '#6b5ce6',
950: '#000000',
},
}SCSS
$custom: #6b5ce6; $custom-light: #9f8bef; $custom-dark: #000000;
JSON
{
"hex": "#6b5ce6",
"rgb": {
"r": 107,
"g": 92,
"b": 230
},
"hsl": {
"h": 246.522,
"s": 73.404,
"l": 63.137
},
"oklch": {
"l": 0.56606,
"c": 0.20096,
"h": 282.8
},
"luminance": 0.16493
}Semantic roles & 50–950 ramp
primary
#6B5CE6
secondary
#E2E8B6
accent
#D610C0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85