#6A5BDA#6A5BDA
#6A5BDA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.5% C 0.187 H 283.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5BDA |
|---|---|
| RGB | rgb(106, 91, 218) |
| HSL | hsl(247, 63%, 61%) |
| HSV | hsv(247, 58%, 85%) |
| CMYK | cmyk(51.4%, 58.3%, 0%, 14.5%) |
| CIE-LAB | lab(46.45, 39.35, -63.40) |
| CIE-LCH | lch(46.45, 74.62, 301.83°) |
| OKLab | oklab(55.47% 0.0447 -0.1815) |
| OKLCH | oklch(55.47% 0.187 283.8) |
| XYZ | xyz(22.3360, 15.6071, 68.1516) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.75
Slate Blue
#6A5ACD
ΔE00 1.92
Dark Periwinkle
#665FD1
ΔE00 1.95
Iris
#6258C4
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.69
Purpley
#8756E4
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5BDA #CBDA5B
analogous
#5B8BDA #6A5BDA #AA5BDA
triadic
#6A5BDA #DA6A5B #5BDA6A
tetradic
#6A5BDA #DA5B8B #CBDA5B #5BDAAA
square
#6A5BDA #DA5B8B #CBDA5B #5BDAAA
split-complementary
#6A5BDA #DAAA5B #8BDA5B
monochromatic
#302298 #402ECA #6A5BDA #978DE5 #C5BFF1
Accessibility & contrast
On white
5.10
#6A5BDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#6A5BDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5BDA
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5BDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5BDA | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#3E7992
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6a5bda; /* rgb */ color: rgb(106, 91, 218); /* oklch */ color: oklch(55.5% 0.187 283.8);
Tailwind
colors: {
custom: {
50: '#9d8ae6',
500: '#6a5bda',
950: '#000000',
},
}SCSS
$custom: #6a5bda; $custom-light: #9d8ae6; $custom-dark: #000000;
JSON
{
"hex": "#6a5bda",
"rgb": {
"r": 106,
"g": 91,
"b": 218
},
"hsl": {
"h": 247.087,
"s": 63.184,
"l": 60.588
},
"oklch": {
"l": 0.55465,
"c": 0.18695,
"h": 283.8
},
"luminance": 0.15608
}Semantic roles & 50–950 ramp
primary
#6A5BDA
secondary
#DBE1B0
accent
#CB1BB6
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0C16
muted
#7F7D84