#6856BB#6856BB
#6856BB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.2% C 0.153 H 288.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #6856BB |
|---|---|
| RGB | rgb(104, 86, 187) |
| HSL | hsl(251, 43%, 54%) |
| HSV | hsv(251, 54%, 73%) |
| CMYK | cmyk(44.4%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(43.04, 32.66, -51.05) |
| CIE-LCH | lch(43.04, 60.60, 302.61°) |
| OKLab | oklab(52.24% 0.0476 -0.1453) |
| OKLCH | oklch(52.24% 0.153 288.1) |
| XYZ | xyz(18.0038, 13.1858, 48.6006) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.10
Slate Blue
#6A5ACD
ΔE00 3.02
Light Indigo
#6D5ACF
ΔE00 3.34
Dark Periwinkle
#665FD1
ΔE00 4.50
Royal Purple
#7851A9
ΔE00 5.58
Bluey Purple
#6241C7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856BB #A9BB56
analogous
#5676BB #6856BB #9A56BB
triadic
#6856BB #BB6856 #56BB68
tetradic
#6856BB #BB5676 #A9BB56 #56BB9A
square
#6856BB #BB5676 #A9BB56 #56BB9A
split-complementary
#6856BB #BB9A56 #76BB56
monochromatic
#372B6B #4D3D97 #6856BB #8F82CD #B6ADDE
Accessibility & contrast
On white
5.77
#6856BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#6856BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856BB
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856BB | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#2463B9
Tritanopia (blue-blind)
#4F6C80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6856bb; /* rgb */ color: rgb(104, 86, 187); /* oklch */ color: oklch(52.2% 0.153 288.1);
Tailwind
colors: {
custom: {
50: '#9886d0',
500: '#6856bb',
950: '#000000',
},
}SCSS
$custom: #6856bb; $custom-light: #9886d0; $custom-dark: #000000;
JSON
{
"hex": "#6856bb",
"rgb": {
"r": 104,
"g": 86,
"b": 187
},
"hsl": {
"h": 250.693,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.52236,
"c": 0.15286,
"h": 288.1
},
"luminance": 0.13186
}Semantic roles & 50–950 ramp
primary
#6856BB
secondary
#C4CCA1
accent
#D255BC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82