#6B51F0#6B51F0
#6B51F0 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.7% C 0.227 H 283.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6B51F0 |
|---|---|
| RGB | rgb(107, 81, 240) |
| HSL | hsl(250, 84%, 63%) |
| HSV | hsv(250, 66%, 94%) |
| CMYK | cmyk(55.4%, 66.3%, 0%, 5.9%) |
| CIE-LAB | lab(46.04, 51.77, -76.51) |
| CIE-LCH | lch(46.04, 92.38, 304.08°) |
| OKLab | oklab(55.7% 0.0537 -0.22) |
| OKLCH | oklch(55.7% 0.227 283.7) |
| XYZ | xyz(24.7292, 15.3004, 84.0714) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.81
Purpley
#8756E4
ΔE00 4.99
Slate Blue
#6A5ACD
ΔE00 5.09
Bluish Purple
#703BE7
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B51F0 #D6F051
analogous
#5187F0 #6B51F0 #BA51F0
triadic
#6B51F0 #F06B51 #51F06B
tetradic
#6B51F0 #F05187 #D6F051 #51F0BA
square
#6B51F0 #F05187 #D6F051 #51F0BA
split-complementary
#6B51F0 #F0BA51 #87F051
monochromatic
#2B10B7 #3B19EB #6B51F0 #9B89F5 #CBC2FA
Accessibility & contrast
On white
5.17
#6B51F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#6B51F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6B51F0
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B51F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B51F0 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#297A9A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6b51f0; /* rgb */ color: rgb(107, 81, 240); /* oklch */ color: oklch(55.7% 0.227 283.7);
Tailwind
colors: {
custom: {
50: '#a184f6',
500: '#6b51f0',
950: '#000000',
},
}SCSS
$custom: #6b51f0; $custom-light: #a184f6; $custom-dark: #000000;
JSON
{
"hex": "#6b51f0",
"rgb": {
"r": 107,
"g": 81,
"b": 240
},
"hsl": {
"h": 249.811,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.55702,
"c": 0.2265,
"h": 283.7
},
"luminance": 0.15302
}Semantic roles & 50–950 ramp
primary
#6B51F0
secondary
#E2EBB2
accent
#E105BD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85