#6958BB#6958BB
#6958BB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.7% C 0.150 H 288.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #6958BB |
|---|---|
| RGB | rgb(105, 88, 187) |
| HSL | hsl(250, 42%, 54%) |
| HSV | hsv(250, 53%, 73%) |
| CMYK | cmyk(43.9%, 52.9%, 0%, 26.7%) |
| CIE-LAB | lab(43.61, 31.69, -50.13) |
| CIE-LCH | lch(43.61, 59.31, 302.30°) |
| OKLab | oklab(52.68% 0.0464 -0.1425) |
| OKLCH | oklch(52.68% 0.15 288) |
| XYZ | xyz(18.2825, 13.5699, 48.6600) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.11
Slate Blue
#6A5ACD
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.18
Dark Periwinkle
#665FD1
ΔE00 4.20
Royal Purple
#7851A9
ΔE00 5.67
Warm Blue
#4B57DB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6958BB #AABB58
analogous
#5879BB #6958BB #9B58BB
triadic
#6958BB #BB6958 #58BB69
tetradic
#6958BB #BB5879 #AABB58 #58BB9B
square
#6958BB #BB5879 #AABB58 #58BB9B
split-complementary
#6958BB #BB9B58 #79BB58
monochromatic
#372C6C #4D3E98 #6958BB #9083CD #B7AFDE
Accessibility & contrast
On white
5.65
#6958BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#6958BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6958BB
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6958BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6958BB | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#2964B9
Tritanopia (blue-blind)
#506D81
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6958bb; /* rgb */ color: rgb(105, 88, 187); /* oklch */ color: oklch(52.7% 0.150 288.0);
Tailwind
colors: {
custom: {
50: '#9987d0',
500: '#6958bb',
950: '#000000',
},
}SCSS
$custom: #6958bb; $custom-light: #9987d0; $custom-dark: #000000;
JSON
{
"hex": "#6958bb",
"rgb": {
"r": 105,
"g": 88,
"b": 187
},
"hsl": {
"h": 250.303,
"s": 42.128,
"l": 53.922
},
"oklch": {
"l": 0.52681,
"c": 0.14991,
"h": 288
},
"luminance": 0.13571
}Semantic roles & 50–950 ramp
primary
#6958BB
secondary
#C5CDA2
accent
#D256BD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82