#6956C8#6956C8
#6956C8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.2% C 0.170 H 286.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6956C8 |
|---|---|
| RGB | rgb(105, 86, 200) |
| HSL | hsl(250, 51%, 56%) |
| HSV | hsv(250, 57%, 78%) |
| CMYK | cmyk(47.5%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(43.99, 36.72, -57.07) |
| CIE-LCH | lch(43.99, 67.87, 302.76°) |
| OKLab | oklab(53.23% 0.0491 -0.163) |
| OKLCH | oklch(53.23% 0.17 286.8) |
| XYZ | xyz(19.5758, 13.8281, 56.2700) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.43
Iris
#6258C4
ΔE00 1.63
Light Indigo
#6D5ACF
ΔE00 1.69
Dark Periwinkle
#665FD1
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 5.37
Bluey Purple
#6241C7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6956C8 #B5C856
analogous
#567CC8 #6956C8 #A256C8
triadic
#6956C8 #C86956 #56C869
tetradic
#6956C8 #C8567C #B5C856 #56C8A2
square
#6956C8 #C8567C #B5C856 #56C8A2
split-complementary
#6956C8 #C8A256 #7CC856
monochromatic
#36287B #4A37AA #6956C8 #9284D7 #BBB2E6
Accessibility & contrast
On white
5.58
#6956C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#6956C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6956C8
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6956C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6956C8 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#046BCC
Deuteranopia (green-blind)
#0165C6
Tritanopia (blue-blind)
#497087
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6956c8; /* rgb */ color: rgb(105, 86, 200); /* oklch */ color: oklch(53.2% 0.170 286.8);
Tailwind
colors: {
custom: {
50: '#9a86d9',
500: '#6956c8',
950: '#000000',
},
}SCSS
$custom: #6956c8; $custom-light: #9a86d9; $custom-dark: #000000;
JSON
{
"hex": "#6956c8",
"rgb": {
"r": 105,
"g": 86,
"b": 200
},
"hsl": {
"h": 250,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.5323,
"c": 0.17019,
"h": 286.8
},
"luminance": 0.13829
}Semantic roles & 50–950 ramp
primary
#6956C8
secondary
#CDD4A5
accent
#DA4DC3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83