#6951BB#6951BB
#6951BB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.160 H 290.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6951BB |
|---|---|
| RGB | rgb(105, 81, 187) |
| HSL | hsl(254, 44%, 53%) |
| HSV | hsv(254, 57%, 73%) |
| CMYK | cmyk(43.9%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(41.96, 35.88, -52.78) |
| CIE-LCH | lch(41.96, 63.82, 304.21°) |
| OKLab | oklab(51.46% 0.0548 -0.1504) |
| OKLCH | oklch(51.46% 0.16 290) |
| XYZ | xyz(17.7353, 12.4754, 48.4776) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.06
Bluey Purple
#6241C7
ΔE00 4.75
Royal Purple
#7851A9
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6951BB #A3BB51
analogous
#516EBB #6951BB #9E51BB
triadic
#6951BB #BB6951 #51BB69
tetradic
#6951BB #BB516E #A3BB51 #51BB9E
square
#6951BB #BB516E #A3BB51 #51BB9E
split-complementary
#6951BB #BB9E51 #6EBB51
monochromatic
#372969 #4F3A95 #6951BB #8F7DCC #B5A9DD
Accessibility & contrast
On white
6.01
#6951BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#6951BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6951BB
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6951BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6951BB | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#1861B9
Tritanopia (blue-blind)
#51687E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6951bb; /* rgb */ color: rgb(105, 81, 187); /* oklch */ color: oklch(51.5% 0.160 290.0);
Tailwind
colors: {
custom: {
50: '#9982d0',
500: '#6951bb',
950: '#000000',
},
}SCSS
$custom: #6951bb; $custom-light: #9982d0; $custom-dark: #000000;
JSON
{
"hex": "#6951bb",
"rgb": {
"r": 105,
"g": 81,
"b": 187
},
"hsl": {
"h": 253.585,
"s": 43.802,
"l": 52.549
},
"oklch": {
"l": 0.51459,
"c": 0.16005,
"h": 290
},
"luminance": 0.12476
}Semantic roles & 50–950 ramp
primary
#6951BB
secondary
#C0CB9D
accent
#D454B7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82