#6B5DFE#6B5DFE
#6B5DFE is a mid, highly saturated blue. Relative luminance 0.181; OKLCH L 58.6% C 0.230 H 280.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #6B5DFE |
|---|---|
| RGB | rgb(107, 93, 254) |
| HSL | hsl(245, 99%, 68%) |
| HSV | hsv(245, 63%, 100%) |
| CMYK | cmyk(57.9%, 63.4%, 0%, 0.4%) |
| CIE-LAB | lab(49.63, 49.27, -78.48) |
| CIE-LCH | lch(49.63, 92.66, 302.12°) |
| OKLab | oklab(58.64% 0.042 -0.2258) |
| OKLCH | oklch(58.64% 0.23 280.5) |
| XYZ | xyz(27.8615, 18.1083, 95.7738) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.08
Purpley
#8756E4
ΔE00 5.99
Dark Periwinkle
#665FD1
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.47
Slate Blue
#6A5ACD
ΔE00 6.75
Warm Blue
#4B57DB
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B5DFE #F0FE5D
analogous
#5DA0FE #6B5DFE #BB5DFE
triadic
#6B5DFE #FE6B5D #5DFE6B
tetradic
#6B5DFE #FE5DA0 #F0FE5D #5DFEBB
square
#6B5DFE #FE5DA0 #F0FE5D #5DFEBB
split-complementary
#6B5DFE #FEBB5D #A0FE5D
monochromatic
#1501DF #3320FE #6B5DFE #A39AFE #DAD7FF
Accessibility & contrast
On white
4.54
#6B5DFE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#6B5DFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6B5DFE
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B5DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6B5DFE | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#0086A5
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #6b5dfe; /* rgb */ color: rgb(107, 93, 254); /* oklch */ color: oklch(58.6% 0.230 280.5);
Tailwind
colors: {
custom: {
50: '#a38cff',
500: '#6b5dfe',
950: '#000000',
},
}SCSS
$custom: #6b5dfe; $custom-light: #a38cff; $custom-dark: #000000;
JSON
{
"hex": "#6b5dfe",
"rgb": {
"r": 107,
"g": 93,
"b": 254
},
"hsl": {
"h": 245.217,
"s": 98.773,
"l": 68.039
},
"oklch": {
"l": 0.58639,
"c": 0.22967,
"h": 280.5
},
"luminance": 0.1811
}Semantic roles & 50–950 ramp
primary
#6B5DFE
secondary
#F0F4C3
accent
#E600D2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86