#6A5EDD#6A5EDD
#6A5EDD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.2% C 0.187 H 282.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5EDD |
|---|---|
| RGB | rgb(106, 94, 221) |
| HSL | hsl(246, 65%, 62%) |
| HSV | hsv(246, 57%, 87%) |
| CMYK | cmyk(52%, 57.5%, 0%, 13.3%) |
| CIE-LAB | lab(47.35, 38.48, -63.65) |
| CIE-LCH | lch(47.35, 74.38, 301.16°) |
| OKLab | oklab(56.19% 0.0416 -0.1822) |
| OKLCH | oklch(56.19% 0.187 282.8) |
| XYZ | xyz(22.9937, 16.2887, 70.3250) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.89
Light Indigo
#6D5ACF
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 2.67
Iris
#6258C4
ΔE00 4.26
Mediumslateblue
#7B68EE
ΔE00 4.88
Warm Blue
#4B57DB
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5EDD #D1DD5E
analogous
#5E92DD #6A5EDD #AA5EDD
triadic
#6A5EDD #DD6A5E #5EDD6A
tetradic
#6A5EDD #DD5E92 #D1DD5E #5EDDAA
square
#6A5EDD #DD5E92 #D1DD5E #5EDDAA
split-complementary
#6A5EDD #DDAA5E #92DD5E
monochromatic
#2D229F #3C2CD2 #6A5EDD #9991E8 #C8C3F2
Accessibility & contrast
On white
4.93
#6A5EDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#6A5EDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5EDD
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5EDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5EDD | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#3B7B94
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #6a5edd; /* rgb */ color: rgb(106, 94, 221); /* oklch */ color: oklch(56.2% 0.187 282.8);
Tailwind
colors: {
custom: {
50: '#9d8ce8',
500: '#6a5edd',
950: '#000000',
},
}SCSS
$custom: #6a5edd; $custom-light: #9d8ce8; $custom-dark: #000000;
JSON
{
"hex": "#6a5edd",
"rgb": {
"r": 106,
"g": 94,
"b": 221
},
"hsl": {
"h": 245.669,
"s": 65.128,
"l": 61.765
},
"oklch": {
"l": 0.56192,
"c": 0.18693,
"h": 282.8
},
"luminance": 0.1629
}Semantic roles & 50–950 ramp
primary
#6A5EDD
secondary
#DEE3B4
accent
#CD19BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84