#684EB7#684EB7
#684EB7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.159 H 291.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #684EB7 |
|---|---|
| RGB | rgb(104, 78, 183) |
| HSL | hsl(255, 42%, 51%) |
| HSV | hsv(255, 57%, 72%) |
| CMYK | cmyk(43.2%, 57.4%, 0%, 28.2%) |
| CIE-LAB | lab(40.91, 36.28, -52.14) |
| CIE-LCH | lch(40.91, 63.52, 304.83°) |
| OKLab | oklab(50.58% 0.0571 -0.1485) |
| OKLCH | oklch(50.58% 0.159 291) |
| XYZ | xyz(16.9782, 11.8102, 46.1756) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 4.04
Bluey Purple
#6241C7
ΔE00 4.31
Royal Purple
#7851A9
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#684EB7 #9DB74E
analogous
#4E68B7 #684EB7 #9C4EB7
triadic
#684EB7 #B7684E #4EB768
tetradic
#684EB7 #B74E68 #9DB74E #4EB79C
square
#684EB7 #B74E68 #9DB74E #4EB79C
split-complementary
#684EB7 #B79C4E #68B74E
monochromatic
#372863 #4F3A8E #684EB7 #8D7AC9 #B2A5DA
Accessibility & contrast
On white
6.25
#684EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#684EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #684EB7
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##684EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##684EB7 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E62BA
Deuteranopia (green-blind)
#175EB5
Tritanopia (blue-blind)
#51657B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #684eb7; /* rgb */ color: rgb(104, 78, 183); /* oklch */ color: oklch(50.6% 0.159 291.0);
Tailwind
colors: {
custom: {
50: '#9880cd',
500: '#684eb7',
950: '#000000',
},
}SCSS
$custom: #684eb7; $custom-light: #9880cd; $custom-dark: #000000;
JSON
{
"hex": "#684eb7",
"rgb": {
"r": 104,
"g": 78,
"b": 183
},
"hsl": {
"h": 254.857,
"s": 42.169,
"l": 51.176
},
"oklch": {
"l": 0.50577,
"c": 0.15909,
"h": 291
},
"luminance": 0.11811
}Semantic roles & 50–950 ramp
primary
#684EB7
secondary
#BCC899
accent
#D256B3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82