#6A57EA#6A57EA
#6A57EA is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.212 H 283.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6A57EA |
|---|---|
| RGB | rgb(106, 87, 234) |
| HSL | hsl(248, 78%, 63%) |
| HSV | hsv(248, 63%, 92%) |
| CMYK | cmyk(54.7%, 62.8%, 0%, 8.2%) |
| CIE-LAB | lab(46.74, 46.48, -72.01) |
| CIE-LCH | lch(46.74, 85.71, 302.84°) |
| OKLab | oklab(56.04% 0.0478 -0.2068) |
| OKLCH | oklch(56.04% 0.212 283) |
| XYZ | xyz(24.1988, 15.8196, 79.6043) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.02
Dark Periwinkle
#665FD1
ΔE00 4.11
Purpley
#8756E4
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.15
Iris
#6258C4
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A57EA #D7EA57
analogous
#578DEA #6A57EA #B357EA
triadic
#6A57EA #EA6A57 #57EA6A
tetradic
#6A57EA #EA578D #D7EA57 #57EAB3
square
#6A57EA #EA578D #D7EA57 #57EAB3
split-complementary
#6A57EA #EAB357 #8DEA57
monochromatic
#2A16B1 #3A21E3 #6A57EA #9A8DF1 #CAC4F8
Accessibility & contrast
On white
5.04
#6A57EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#6A57EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A57EA
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A57EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A57EA | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#2D7B99
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6a57ea; /* rgb */ color: rgb(106, 87, 234); /* oklch */ color: oklch(56.0% 0.212 283.0);
Tailwind
colors: {
custom: {
50: '#9f87f2',
500: '#6a57ea',
950: '#000000',
},
}SCSS
$custom: #6a57ea; $custom-light: #9f87f2; $custom-dark: #000000;
JSON
{
"hex": "#6a57ea",
"rgb": {
"r": 106,
"g": 87,
"b": 234
},
"hsl": {
"h": 247.755,
"s": 77.778,
"l": 62.941
},
"oklch": {
"l": 0.56038,
"c": 0.21227,
"h": 283
},
"luminance": 0.15821
}Semantic roles & 50–950 ramp
primary
#6A57EA
secondary
#E2E9B4
accent
#DA0BBF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85