#684ED6#684ED6
#684ED6 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.199 H 286.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #684ED6 |
|---|---|
| RGB | rgb(104, 78, 214) |
| HSL | hsl(251, 62%, 57%) |
| HSV | hsv(251, 64%, 84%) |
| CMYK | cmyk(51.4%, 63.6%, 0%, 16.1%) |
| CIE-LAB | lab(43.13, 45.30, -66.52) |
| CIE-LCH | lch(43.13, 80.48, 304.26°) |
| OKLab | oklab(52.9% 0.0555 -0.1908) |
| OKLCH | oklch(52.9% 0.199 286.2) |
| XYZ | xyz(20.5673, 13.2458, 65.0783) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 3.58
Iris
#6258C4
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.17
Purpleish Blue
#6140EF
ΔE00 4.17
Bluish Purple
#703BE7
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684ED6 #BCD64E
analogous
#4E78D6 #684ED6 #AC4ED6
triadic
#684ED6 #D6684E #4ED668
tetradic
#684ED6 #D64E78 #BCD64E #4ED6AC
square
#684ED6 #D64E78 #BCD64E #4ED6AC
split-complementary
#684ED6 #D6AC4E #78D64E
monochromatic
#34208A #472BBB #684ED6 #9280E2 #BDB1ED
Accessibility & contrast
On white
5.75
#684ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#684ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684ED6
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684ED6 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#3E6F8B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #684ed6; /* rgb */ color: rgb(104, 78, 214); /* oklch */ color: oklch(52.9% 0.199 286.2);
Tailwind
colors: {
custom: {
50: '#9c81e4',
500: '#684ed6',
950: '#000000',
},
}SCSS
$custom: #684ed6; $custom-light: #9c81e4; $custom-dark: #000000;
JSON
{
"hex": "#684ed6",
"rgb": {
"r": 104,
"g": 78,
"b": 214
},
"hsl": {
"h": 251.471,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.529,
"c": 0.1987,
"h": 286.2
},
"luminance": 0.13247
}Semantic roles & 50–950 ramp
primary
#684ED6
secondary
#D1DBA4
accent
#E542C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84