#684EBB#684EBB
#684EBB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.164 H 290.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #684EBB |
|---|---|
| RGB | rgb(104, 78, 187) |
| HSL | hsl(254, 44%, 52%) |
| HSV | hsv(254, 58%, 73%) |
| CMYK | cmyk(44.4%, 58.3%, 0%, 26.7%) |
| CIE-LAB | lab(41.18, 37.43, -54.04) |
| CIE-LCH | lch(41.18, 65.74, 304.71°) |
| OKLab | oklab(50.86% 0.0571 -0.1541) |
| OKLCH | oklch(50.86% 0.164 290.3) |
| XYZ | xyz(17.4004, 11.9791, 48.3995) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.73
Bluey Purple
#6241C7
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 5.21
Royal Purple
#7851A9
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684EBB #A1BB4E
analogous
#4E6BBB #684EBB #9F4EBB
triadic
#684EBB #BB684E #4EBB68
tetradic
#684EBB #BB4E6B #A1BB4E #4EBB9F
square
#684EBB #BB4E6B #A1BB4E #4EBB9F
split-complementary
#684EBB #BB9F4E #6BBB4E
monochromatic
#372867 #4E3993 #684EBB #8E7ACC #B3A6DD
Accessibility & contrast
On white
6.18
#684EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#684EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684EBB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684EBB | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#4F667D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #684ebb; /* rgb */ color: rgb(104, 78, 187); /* oklch */ color: oklch(50.9% 0.164 290.3);
Tailwind
colors: {
custom: {
50: '#9980d0',
500: '#684ebb',
950: '#000000',
},
}SCSS
$custom: #684ebb; $custom-light: #9980d0; $custom-dark: #000000;
JSON
{
"hex": "#684ebb",
"rgb": {
"r": 104,
"g": 78,
"b": 187
},
"hsl": {
"h": 254.312,
"s": 44.49,
"l": 51.961
},
"oklch": {
"l": 0.50862,
"c": 0.16432,
"h": 290.3
},
"luminance": 0.1198
}Semantic roles & 50–950 ramp
primary
#684EBB
secondary
#BFCA9B
accent
#D454B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82