#6A51F2#6A51F2
#6A51F2 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.8% C 0.229 H 283.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6A51F2 |
|---|---|
| RGB | rgb(106, 81, 242) |
| HSL | hsl(249, 86%, 63%) |
| HSV | hsv(249, 67%, 95%) |
| CMYK | cmyk(56.2%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(46.12, 52.20, -77.51) |
| CIE-LCH | lch(46.12, 93.45, 303.96°) |
| OKLab | oklab(55.79% 0.0521 -0.223) |
| OKLCH | oklch(55.79% 0.229 283.2) |
| XYZ | xyz(24.9084, 15.3583, 85.6391) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 5.02
Purpley
#8756E4
ΔE00 5.16
Slate Blue
#6A5ACD
ΔE00 5.28
Bluish Purple
#703BE7
ΔE00 5.40
Dark Periwinkle
#665FD1
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A51F2 #D9F251
analogous
#5188F2 #6A51F2 #BA51F2
triadic
#6A51F2 #F26A51 #51F26A
tetradic
#6A51F2 #F25188 #D9F251 #51F2BA
square
#6A51F2 #F25188 #D9F251 #51F2BA
split-complementary
#6A51F2 #F2BA51 #88F251
monochromatic
#290EBB #3918EE #6A51F2 #9B8AF6 #CCC3FB
Accessibility & contrast
On white
5.16
#6A51F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#6A51F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A51F2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A51F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A51F2 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#227B9B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6a51f2; /* rgb */ color: rgb(106, 81, 242); /* oklch */ color: oklch(55.8% 0.229 283.2);
Tailwind
colors: {
custom: {
50: '#a184f8',
500: '#6a51f2',
950: '#000000',
},
}SCSS
$custom: #6a51f2; $custom-light: #a184f8; $custom-dark: #000000;
JSON
{
"hex": "#6a51f2",
"rgb": {
"r": 106,
"g": 81,
"b": 242
},
"hsl": {
"h": 249.317,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.55788,
"c": 0.22901,
"h": 283.2
},
"luminance": 0.1536
}Semantic roles & 50–950 ramp
primary
#6A51F2
secondary
#E3ECB3
accent
#E303C0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85