#6956BF#6956BF
#6956BF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.158 H 288.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6956BF |
|---|---|
| RGB | rgb(105, 86, 191) |
| HSL | hsl(251, 45%, 54%) |
| HSV | hsv(251, 55%, 75%) |
| CMYK | cmyk(45%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(43.39, 34.07, -52.82) |
| CIE-LCH | lch(43.39, 62.85, 302.82°) |
| OKLab | oklab(52.6% 0.049 -0.1504) |
| OKLCH | oklch(52.6% 0.158 288) |
| XYZ | xyz(18.5548, 13.4197, 50.8927) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 1.84
Slate Blue
#6A5ACD
ΔE00 2.47
Light Indigo
#6D5ACF
ΔE00 2.75
Dark Periwinkle
#665FD1
ΔE00 4.09
Royal Purple
#7851A9
ΔE00 5.86
Bluey Purple
#6241C7
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6956BF #ACBF56
analogous
#5678BF #6956BF #9E56BF
triadic
#6956BF #BF6956 #56BF69
tetradic
#6956BF #BF5678 #ACBF56 #56BF9E
square
#6956BF #BF5678 #ACBF56 #56BF9E
split-complementary
#6956BF #BF9E56 #78BF56
monochromatic
#372A70 #4D3B9D #6956BF #9082D0 #B8AFE1
Accessibility & contrast
On white
5.70
#6956BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6956BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6956BF
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6956BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6956BF | 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)
#1E69C3
Deuteranopia (green-blind)
#1E64BD
Tritanopia (blue-blind)
#4E6D82
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6956bf; /* rgb */ color: rgb(105, 86, 191); /* oklch */ color: oklch(52.6% 0.158 288.0);
Tailwind
colors: {
custom: {
50: '#9986d3',
500: '#6956bf',
950: '#000000',
},
}SCSS
$custom: #6956bf; $custom-light: #9986d3; $custom-dark: #000000;
JSON
{
"hex": "#6956bf",
"rgb": {
"r": 105,
"g": 86,
"b": 191
},
"hsl": {
"h": 250.857,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.52598,
"c": 0.15821,
"h": 288
},
"luminance": 0.1342
}Semantic roles & 50–950 ramp
primary
#6956BF
secondary
#C7CFA2
accent
#D553BD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83