#6957BB#6957BB
#6957BB is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.5% C 0.151 H 288.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6957BB |
|---|---|
| RGB | rgb(105, 87, 187) |
| HSL | hsl(251, 42%, 54%) |
| HSV | hsv(251, 53%, 73%) |
| CMYK | cmyk(43.9%, 53.5%, 0%, 26.7%) |
| CIE-LAB | lab(43.37, 32.29, -50.52) |
| CIE-LCH | lch(43.37, 59.96, 302.59°) |
| OKLab | oklab(52.5% 0.0476 -0.1437) |
| OKLCH | oklch(52.5% 0.151 288.3) |
| XYZ | xyz(18.2010, 13.4068, 48.6329) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.16
Slate Blue
#6A5ACD
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 3.24
Dark Periwinkle
#665FD1
ΔE00 4.37
Royal Purple
#7851A9
ΔE00 5.53
Bluey Purple
#6241C7
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6957BB #A9BB57
analogous
#5777BB #6957BB #9B57BB
triadic
#6957BB #BB6957 #57BB69
tetradic
#6957BB #BB5777 #A9BB57 #57BB9B
square
#6957BB #BB5777 #A9BB57 #57BB9B
split-complementary
#6957BB #BB9B57 #77BB57
monochromatic
#372C6C #4E3D97 #6957BB #9083CD #B7AEDE
Accessibility & contrast
On white
5.70
#6957BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6957BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6957BB
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6957BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6957BB | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#506C80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6957bb; /* rgb */ color: rgb(105, 87, 187); /* oklch */ color: oklch(52.5% 0.151 288.3);
Tailwind
colors: {
custom: {
50: '#9987d0',
500: '#6957bb',
950: '#000000',
},
}SCSS
$custom: #6957bb; $custom-light: #9987d0; $custom-dark: #000000;
JSON
{
"hex": "#6957bb",
"rgb": {
"r": 105,
"g": 87,
"b": 187
},
"hsl": {
"h": 250.8,
"s": 42.373,
"l": 53.725
},
"oklch": {
"l": 0.52502,
"c": 0.15136,
"h": 288.3
},
"luminance": 0.13408
}Semantic roles & 50–950 ramp
primary
#6957BB
secondary
#C5CCA2
accent
#D256BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82