#6B5CEA#6B5CEA
#6B5CEA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.206 H 282.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5CEA |
|---|---|
| RGB | rgb(107, 92, 234) |
| HSL | hsl(246, 77%, 64%) |
| HSV | hsv(246, 61%, 92%) |
| CMYK | cmyk(54.3%, 60.7%, 0%, 8.2%) |
| CIE-LAB | lab(47.90, 43.78, -70.10) |
| CIE-LCH | lch(47.90, 82.65, 301.99°) |
| OKLab | oklab(56.91% 0.0444 -0.2012) |
| OKLCH | oklch(56.91% 0.206 282.4) |
| XYZ | xyz(24.7373, 16.7191, 79.7496) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.14
Mediumslateblue
#7B68EE
ΔE00 4.43
Purpley
#8756E4
ΔE00 5.13
Warm Blue
#4B57DB
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5CEA #DBEA5C
analogous
#5C94EA #6B5CEA #B25CEA
triadic
#6B5CEA #EA6B5C #5CEA6B
tetradic
#6B5CEA #EA5C94 #DBEA5C #5CEAB2
square
#6B5CEA #EA5C94 #DBEA5C #5CEAB2
split-complementary
#6B5CEA #EAB25C #94EA5C
monochromatic
#2817B4 #3A26E3 #6B5CEA #9C92F1 #CDC8F8
Accessibility & contrast
On white
4.83
#6B5CEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#6B5CEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B5CEA
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5CEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B5CEA | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#307E9A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6b5cea; /* rgb */ color: rgb(107, 92, 234); /* oklch */ color: oklch(56.9% 0.206 282.4);
Tailwind
colors: {
custom: {
50: '#a08bf2',
500: '#6b5cea',
950: '#000000',
},
}SCSS
$custom: #6b5cea; $custom-light: #a08bf2; $custom-dark: #000000;
JSON
{
"hex": "#6b5cea",
"rgb": {
"r": 107,
"g": 92,
"b": 234
},
"hsl": {
"h": 246.338,
"s": 77.174,
"l": 63.922
},
"oklch": {
"l": 0.56911,
"c": 0.20603,
"h": 282.4
},
"luminance": 0.16721
}Semantic roles & 50–950 ramp
primary
#6B5CEA
secondary
#E5EAB8
accent
#D90CC4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85