#6957AF#6957AF
#6957AF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.7% C 0.135 H 290.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6957AF |
|---|---|
| RGB | rgb(105, 87, 175) |
| HSL | hsl(252, 35%, 51%) |
| HSV | hsv(252, 50%, 69%) |
| CMYK | cmyk(40%, 50.3%, 0%, 31.4%) |
| CIE-LAB | lab(42.63, 28.81, -44.67) |
| CIE-LCH | lch(42.63, 53.15, 302.83°) |
| OKLab | oklab(51.72% 0.0468 -0.1265) |
| OKLCH | oklch(51.72% 0.135 290.3) |
| XYZ | xyz(16.9696, 12.9143, 42.1477) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.99
Royal Purple
#7851A9
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 6.13
Bluey Purple
#6241C7
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6957AF #9DAF57
analogous
#5771AF #6957AF #9557AF
triadic
#6957AF #AF6957 #57AF69
tetradic
#6957AF #AF5771 #9DAF57 #57AF95
square
#6957AF #AF5771 #9DAF57 #57AF95
split-complementary
#6957AF #AF9557 #71AF57
monochromatic
#372D5F #4F4188 #6957AF #8E80C3 #B3AAD6
Accessibility & contrast
On white
5.86
#6957AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6957AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6957AF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6957AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6957AF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#3563AD
Tritanopia (blue-blind)
#56697B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6957af; /* rgb */ color: rgb(105, 87, 175); /* oklch */ color: oklch(51.7% 0.135 290.3);
Tailwind
colors: {
custom: {
50: '#9886c7',
500: '#6957af',
950: '#000000',
},
}SCSS
$custom: #6957af; $custom-light: #9886c7; $custom-dark: #000000;
JSON
{
"hex": "#6957af",
"rgb": {
"r": 105,
"g": 87,
"b": 175
},
"hsl": {
"h": 252.273,
"s": 35.484,
"l": 51.373
},
"oklch": {
"l": 0.51716,
"c": 0.13487,
"h": 290.3
},
"luminance": 0.12915
}Semantic roles & 50–950 ramp
primary
#6957AF
secondary
#BCC49E
accent
#CC5CB5
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82