#6B5CEB#6B5CEB
#6B5CEB is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.207 H 282.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CEB |
|---|---|
| RGB | rgb(107, 92, 235) |
| HSL | hsl(246, 78%, 64%) |
| HSV | hsv(246, 61%, 92%) |
| CMYK | cmyk(54.5%, 60.9%, 0%, 7.8%) |
| CIE-LAB | lab(47.98, 44.09, -70.55) |
| CIE-LCH | lch(47.98, 83.19, 302.00°) |
| OKLab | oklab(56.99% 0.0443 -0.2025) |
| OKLCH | oklch(56.99% 0.207 282.3) |
| XYZ | xyz(24.8813, 16.7767, 80.5083) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 4.39
Purpley
#8756E4
ΔE00 5.14
Warm Blue
#4B57DB
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CEB #DCEB5C
analogous
#5C95EB #6B5CEB #B35CEB
triadic
#6B5CEB #EB6B5C #5CEB6B
tetradic
#6B5CEB #EB5C95 #DCEB5C #5CEBB3
square
#6B5CEB #EB5C95 #DCEB5C #5CEBB3
split-complementary
#6B5CEB #EBB35C #95EB5C
monochromatic
#2716B6 #3A25E4 #6B5CEB #9C93F2 #CEC9F8
Accessibility & contrast
On white
4.82
#6B5CEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#6B5CEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CEB
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CEB | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006DE8
Tritanopia (blue-blind)
#2E7F9B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6b5ceb; /* rgb */ color: rgb(107, 92, 235); /* oklch */ color: oklch(57.0% 0.207 282.3);
Tailwind
colors: {
custom: {
50: '#a08bf2',
500: '#6b5ceb',
950: '#000000',
},
}SCSS
$custom: #6b5ceb; $custom-light: #a08bf2; $custom-dark: #000000;
JSON
{
"hex": "#6b5ceb",
"rgb": {
"r": 107,
"g": 92,
"b": 235
},
"hsl": {
"h": 246.294,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.56987,
"c": 0.20729,
"h": 282.3
},
"luminance": 0.16778
}Semantic roles & 50–950 ramp
primary
#6B5CEB
secondary
#E5EAB8
accent
#DA0BC5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85