#684EB9#684EB9
#684EB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.162 H 290.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #684EB9 |
|---|---|
| RGB | rgb(104, 78, 185) |
| HSL | hsl(255, 43%, 52%) |
| HSV | hsv(255, 58%, 73%) |
| CMYK | cmyk(43.8%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(41.05, 36.85, -53.09) |
| CIE-LCH | lch(41.05, 64.63, 304.77°) |
| OKLab | oklab(50.72% 0.0571 -0.1513) |
| OKLCH | oklch(50.72% 0.162 290.7) |
| XYZ | xyz(17.1878, 11.8940, 47.2797) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.87
Bluey Purple
#6241C7
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 4.87
Royal Purple
#7851A9
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684EB9 #9FB94E
analogous
#4E6AB9 #684EB9 #9E4EB9
triadic
#684EB9 #B9684E #4EB968
tetradic
#684EB9 #B94E6A #9FB94E #4EB99E
square
#684EB9 #B94E6A #9FB94E #4EB99E
split-complementary
#684EB9 #B99E4E #6AB94E
monochromatic
#372865 #4E3991 #684EB9 #8D7ACA #B3A6DC
Accessibility & contrast
On white
6.21
#684EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#684EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684EB9
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684EB9 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0663BD
Deuteranopia (green-blind)
#115EB7
Tritanopia (blue-blind)
#50667C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #684eb9; /* rgb */ color: rgb(104, 78, 185); /* oklch */ color: oklch(50.7% 0.162 290.7);
Tailwind
colors: {
custom: {
50: '#9880cf',
500: '#684eb9',
950: '#000000',
},
}SCSS
$custom: #684eb9; $custom-light: #9880cf; $custom-dark: #000000;
JSON
{
"hex": "#684eb9",
"rgb": {
"r": 104,
"g": 78,
"b": 185
},
"hsl": {
"h": 254.579,
"s": 43.32,
"l": 51.569
},
"oklch": {
"l": 0.50719,
"c": 0.16171,
"h": 290.7
},
"luminance": 0.11895
}Semantic roles & 50–950 ramp
primary
#684EB9
secondary
#BDC99A
accent
#D355B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82