#6854BB#6854BB
#6854BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 51.9% C 0.156 H 288.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6854BB |
|---|---|
| RGB | rgb(104, 84, 187) |
| HSL | hsl(252, 43%, 53%) |
| HSV | hsv(252, 55%, 73%) |
| CMYK | cmyk(44.4%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(42.57, 33.86, -51.81) |
| CIE-LCH | lch(42.57, 61.90, 303.17°) |
| OKLab | oklab(51.89% 0.05 -0.1475) |
| OKLCH | oklch(51.89% 0.156 288.7) |
| XYZ | xyz(17.8463, 12.8709, 48.5481) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.40
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 4.91
Royal Purple
#7851A9
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6854BB #A7BB54
analogous
#5474BB #6854BB #9B54BB
triadic
#6854BB #BB6854 #54BB68
tetradic
#6854BB #BB5474 #A7BB54 #54BB9B
square
#6854BB #BB5474 #A7BB54 #54BB9B
split-complementary
#6854BB #BB9B54 #74BB54
monochromatic
#372A6A #4D3C96 #6854BB #8F80CC #B5ACDE
Accessibility & contrast
On white
5.88
#6854BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6854BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6854BB
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6854BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6854BB | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#4F6A7F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6854bb; /* rgb */ color: rgb(104, 84, 187); /* oklch */ color: oklch(51.9% 0.156 288.7);
Tailwind
colors: {
custom: {
50: '#9884d0',
500: '#6854bb',
950: '#000000',
},
}SCSS
$custom: #6854bb; $custom-light: #9884d0; $custom-dark: #000000;
JSON
{
"hex": "#6854bb",
"rgb": {
"r": 104,
"g": 84,
"b": 187
},
"hsl": {
"h": 251.65,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.51885,
"c": 0.15575,
"h": 288.7
},
"luminance": 0.12872
}Semantic roles & 50–950 ramp
primary
#6854BB
secondary
#C3CC9F
accent
#D355BA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82