#6957AE#6957AE
#6957AE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.7% C 0.133 H 290.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6957AE |
|---|---|
| RGB | rgb(105, 87, 174) |
| HSL | hsl(252, 35%, 51%) |
| HSV | hsv(252, 50%, 68%) |
| CMYK | cmyk(39.7%, 50%, 0%, 31.8%) |
| CIE-LAB | lab(42.57, 28.53, -44.17) |
| CIE-LCH | lch(42.57, 52.58, 302.85°) |
| OKLab | oklab(51.65% 0.0467 -0.125) |
| OKLCH | oklch(51.65% 0.133 290.5) |
| XYZ | xyz(16.8718, 12.8752, 41.6324) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.16
Royal Purple
#7851A9
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 6.29
Bluey Purple
#6241C7
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6957AE #9CAE57
analogous
#5770AE #6957AE #9457AE
triadic
#6957AE #AE6957 #57AE69
tetradic
#6957AE #AE5770 #9CAE57 #57AE94
square
#6957AE #AE5770 #9CAE57 #57AE94
split-complementary
#6957AE #AE9457 #70AE57
monochromatic
#372D5E #4F4187 #6957AE #8E80C2 #B3AAD6
Accessibility & contrast
On white
5.87
#6957AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#6957AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6957AE
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6957AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6957AE | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#3663AC
Tritanopia (blue-blind)
#57697A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6957ae; /* rgb */ color: rgb(105, 87, 174); /* oklch */ color: oklch(51.7% 0.133 290.5);
Tailwind
colors: {
custom: {
50: '#9786c7',
500: '#6957ae',
950: '#000000',
},
}SCSS
$custom: #6957ae; $custom-light: #9786c7; $custom-dark: #000000;
JSON
{
"hex": "#6957ae",
"rgb": {
"r": 105,
"g": 87,
"b": 174
},
"hsl": {
"h": 252.414,
"s": 34.94,
"l": 51.176
},
"oklch": {
"l": 0.51652,
"c": 0.13348,
"h": 290.5
},
"luminance": 0.12876
}Semantic roles & 50–950 ramp
primary
#6957AE
secondary
#BCC49D
accent
#CB5DB4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82